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

List:       kde-commits
Subject:    icecream/daemon
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-09-10 15:36:38
Message-ID: 1157902598.751952.16343.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 582799 by coolo:

I'm unable to find another way to get stale pointers


 M  +8 -1      main.cpp  


--- trunk/icecream/daemon/main.cpp #582798:582799
@@ -954,7 +954,14 @@
         }
     }
 
-    clients.erase( client->channel );
+    if (!clients.erase( client->channel ))
+    {
+	log_error() << "client can't be erased" << endl;
+	flush_debug();
+	log_error() << dump_internals() << endl;
+	flush_debug();
+	assert(false);
+    }
     delete client;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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