Fixes for close and cleanup of sessions, dcb, router sessions etc.
Fix memory leak in config Fix for debug command execution without second argument
This commit is contained in:
@ -170,10 +170,6 @@ closeSession(ROUTER *instance, void *router_session)
|
||||
CLI_INSTANCE *inst = (CLI_INSTANCE *)instance;
|
||||
CLI_SESSION *session = (CLI_SESSION *)router_session;
|
||||
|
||||
/*
|
||||
* Close the connection to the backend
|
||||
*/
|
||||
session->session->client->func.close(session->session->client);
|
||||
|
||||
spinlock_acquire(&inst->lock);
|
||||
if (inst->sessions == session)
|
||||
|
Reference in New Issue
Block a user