Bug 160 - fixed memory leaks with telnetd and debug CLI

This commit is contained in:
Mark Riddoch
2013-09-26 17:38:35 +02:00
parent 1e83308cd1
commit ee7b799bf1
3 changed files with 16 additions and 2 deletions

View File

@ -208,10 +208,17 @@ CLI_SESSION *session = (CLI_SESSION *)router_session;
*/
}
/**
* Free a debugcli session
*
* @param router_instance The router session
* @param router_client_session The router session as returned from newSession
*/
static void freeSession(
ROUTER* router_instance,
void* router_client_session)
{
free(router_client_session);
return;
}