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
This commit is contained in:
oharboe
2009-08-24 07:53:46 +00:00
parent 332c8d78d8
commit bf5f21e39a
7 changed files with 39 additions and 0 deletions

View File

@@ -597,6 +597,7 @@ int telnet_init(char *banner)
if (telnet_port == 0)
{
LOG_INFO("telnet port disabled");
free(telnet_service);
return ERROR_OK;
}