server: fix small mem leak of bindto_name
Change-Id: Ib9c8003e164a156f1c4d3cde47e4158d867d82c6 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/4909 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>reverse-resume-order
parent
a4d50544de
commit
6f66267f85
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue