summaryrefslogtreecommitdiffstats
path: root/ksmserver/server.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-02-24 23:26:01 -0600
committerSlávek Banko <slavek.banko@axis.cz>2015-02-26 01:54:55 +0100
commitb8730cba98389dee5cf06090fe8476e43bd42b84 (patch)
tree8cd74ccc6bc99e73cb8d9c5a9311eeb8ac588815 /ksmserver/server.cpp
parented4336e670dc2aa0334ba91323493e033a2afee9 (diff)
downloadtdebase-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.cpp2
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 );
}
}