Fix a potential memory leak

This commit is contained in:
Max Lv
2016-12-04 13:52:59 +08:00
parent 24b407c37d
commit a987783b2a
+1
View File
@@ -1625,6 +1625,7 @@ start_ss_local_server(profile_t profile)
close(listen_ctx.fd);
}
ss_free(listen_ctx.remote_addr[0]);
ss_free(listen_ctx.remote_addr);
#ifdef __MINGW32__