ConnectionAccepter: fix socket fd leak

This commit is contained in:
Maxime Coste 2013-04-02 14:27:04 +02:00
parent 76e73866e5
commit b62c78f9e9

View File

@ -436,6 +436,7 @@ private:
write_debug("error running command '" + m_buffer + "' : " + e.description()); write_debug("error running command '" + m_buffer + "' : " + e.description());
} }
ClientManager::instance().redraw_clients(); ClientManager::instance().redraw_clients();
close(socket);
delete this; delete this;
return; return;
} }