Closed mcbrowne64 closed 9 years ago
There is no call to telnet_free in clientItem::~clientItem, so a small amount of memory leaks with every connection. A line of the form: if ( _telnet ) telnet_free( _telnet ); is needed to avoid this problem.
Well spotted! Committed your fix. Thanks for pointing this out!
There is no call to telnet_free in clientItem::~clientItem, so a small amount of memory leaks with every connection. A line of the form: if ( _telnet ) telnet_free( _telnet ); is needed to avoid this problem.