From 9005480696634e967011a285e424f307b3043527 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 24 Feb 2015 23:26:01 -0600 Subject: Fix double free corruption due to duplicated call to IceCloseConnection This resolves Bug 2167 --- ksmserver/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksmserver/server.cpp') diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp index c9a037397..f09dcd9df 100644 --- a/ksmserver/server.cpp +++ b/ksmserver/server.cpp @@ -771,8 +771,8 @@ void KSMServer::processData( int /*socket*/ ) SmsConn smsConn = it.current()->connection(); deleteClient( it.current() ); SmsCleanUp( smsConn ); + (void) IceCloseConnection( iceConn ); } - (void) IceCloseConnection( iceConn ); } } -- cgit v1.2.1