diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-24 07:53:46 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-24 07:53:46 +0000 |
commit | bf5f21e39a6c04c3845dc61becc90d8602546290 (patch) | |
tree | 49de21fa0af834ac6b91bfde83280e87ae24d318 /src/server | |
parent | 332c8d78d8007e810380d4d0d13a4d47b8fb4d52 (diff) | |
download | riscv-openocd-bf5f21e39a6c04c3845dc61becc90d8602546290.zip riscv-openocd-bf5f21e39a6c04c3845dc61becc90d8602546290.tar.gz riscv-openocd-bf5f21e39a6c04c3845dc61becc90d8602546290.tar.bz2 |
Steve Grubb <sgrubb@redhat.com> fix various and sundry leaks
git-svn-id: svn://svn.berlios.de/openocd/trunk@2606 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/telnet_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c index b6b38a0..f26ad9f 100644 --- a/src/server/telnet_server.c +++ b/src/server/telnet_server.c @@ -597,6 +597,7 @@ int telnet_init(char *banner) if (telnet_port == 0) { LOG_INFO("telnet port disabled"); + free(telnet_service); return ERROR_OK; } |