[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/soprano/2.5
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-09-09 15:49:00
Message-ID: 20100909154900.F34A1AC884 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1173513 by trueg:

Backport: Do not delete the connection in a thread other than the one that created \
it. This might be a mem-leak since that thread might be gone already but a mem-leak \
is better than a crash.

 M  +1 -0      ChangeLog  
 M  +1 -1      client/localsocketclient.cpp  


--- branches/soprano/2.5/ChangeLog #1173512:1173513
@@ -1,5 +1,6 @@
 2.5.2
 	* Fixed the Virtuoso backend default value for "ServerThreads" to match the \
documentation. +	* Fixed a crash in the local socket client when disconnecting in a \
multithreaded client.  
 2.5.1
 	* Properly set the working directory of the Virtuoso process to avoid random 
--- branches/soprano/2.5/client/localsocketclient.cpp #1173512:1173513
@@ -162,7 +162,7 @@
 
 void Soprano::Client::LocalSocketClient::disconnect()
 {
-    delete d->connection;
+    d->connection->deleteLater();
     d->connection = 0;
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic