Fix double free corruption due to duplicated call to IceCloseConnection

This resolves Bug 2167
(cherry picked from commit 9005480696)
pull/182/head
Timothy Pearson 9 years ago committed by Slávek Banko
parent ed4336e670
commit b8730cba98

@ -771,8 +771,8 @@ void KSMServer::processData( int /*socket*/ )
SmsConn smsConn = it.current()->connection(); SmsConn smsConn = it.current()->connection();
deleteClient( it.current() ); deleteClient( it.current() );
SmsCleanUp( smsConn ); SmsCleanUp( smsConn );
(void) IceCloseConnection( iceConn );
} }
(void) IceCloseConnection( iceConn );
} }
} }

Loading…
Cancel
Save