From 6f66267f853b6c65f47ba686da562c95f0482714 Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Mon, 21 Jan 2019 21:51:04 +0100 Subject: [PATCH] server: fix small mem leak of bindto_name Change-Id: Ib9c8003e164a156f1c4d3cde47e4158d867d82c6 Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/4909 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/server/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/server.c b/src/server/server.c index f8273d42d..539bdaf82 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -703,6 +703,8 @@ void server_free(void) tcl_service_free(); telnet_service_free(); jsp_service_free(); + + free(bindto_name); } void exit_on_signal(int sig)