diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-02-24 23:26:01 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-02-26 01:54:55 +0100 |
commit | b8730cba98389dee5cf06090fe8476e43bd42b84 (patch) | |
tree | 8cd74ccc6bc99e73cb8d9c5a9311eeb8ac588815 /ksmserver/server.cpp | |
parent | ed4336e670dc2aa0334ba91323493e033a2afee9 (diff) | |
download | tdebase-b8730cba98389dee5cf06090fe8476e43bd42b84.tar.gz tdebase-b8730cba98389dee5cf06090fe8476e43bd42b84.zip |
Fix double free corruption due to duplicated call to IceCloseConnection
This resolves Bug 2167
(cherry picked from commit 9005480696634e967011a285e424f307b3043527)
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r-- | ksmserver/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); } } |