summaryrefslogtreecommitdiffstats
path: root/ksmserver
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-02-24 23:26:01 -0600
committerTimothy Pearson <[email protected]>2015-02-24 23:26:01 -0600
commit9005480696634e967011a285e424f307b3043527 (patch)
treee12e3f34855fbad08c26f9c807c990e09a65421b /ksmserver
parentad2dc879b6b3dbeb127b8238b46760a325f74c52 (diff)
downloadtdebase-9005480696634e967011a285e424f307b3043527.tar.gz
tdebase-9005480696634e967011a285e424f307b3043527.zip
Fix double free corruption due to duplicated call to IceCloseConnection
This resolves Bug 2167
Diffstat (limited to 'ksmserver')
-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 );
}
}