Browse Source

Fix a potential memory leak

pull/986/head
Max Lv 8 years ago
parent
commit
a987783b2a
1 changed files with 1 additions and 0 deletions
  1. 1
      src/local.c

1
src/local.c

@ -1625,6 +1625,7 @@ start_ss_local_server(profile_t profile)
close(listen_ctx.fd); close(listen_ctx.fd);
} }
ss_free(listen_ctx.remote_addr[0]);
ss_free(listen_ctx.remote_addr); ss_free(listen_ctx.remote_addr);
#ifdef __MINGW32__ #ifdef __MINGW32__

Loading…
Cancel
Save