diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2019-01-21 21:51:04 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-02-21 07:49:08 +0000 |
commit | 6f66267f853b6c65f47ba686da562c95f0482714 (patch) | |
tree | 09029ee3329e2b4e987fe7177b3a0c47fa515022 | |
parent | a4d50544de07f13e3f9644d2b48e41ebdc91a7a3 (diff) | |
download | riscv-openocd-6f66267f853b6c65f47ba686da562c95f0482714.zip riscv-openocd-6f66267f853b6c65f47ba686da562c95f0482714.tar.gz riscv-openocd-6f66267f853b6c65f47ba686da562c95f0482714.tar.bz2 |
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>
-rw-r--r-- | src/server/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/server.c b/src/server/server.c index f8273d4..539bdaf 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) |