commit | 7ddc570f19730b9d5d896716c240a402e65c3c8c | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 08 15:29:39 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 08 15:29:39 2016 +0100 |
tree | d9a280a6be2349e159a5a89e3f6bcce20ea7ec8a | |
parent | d4c03a8988fb0b5c0f127389f0ffdff2b5fd17aa [diff] |
server session BUGFIX memory leak
diff --git a/src/session_server.c b/src/session_server.c index 83ea555..797b007 100644 --- a/src/session_server.c +++ b/src/session_server.c
@@ -1033,6 +1033,8 @@ ret = 0; } + free(server_opts.binds); + server_opts.binds = NULL; free(server_opts.endpts); server_opts.endpts = NULL; server_opts.endpt_count = 0;