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

List:       kde-commits
Subject:    extragear/network/choqok/libchoqok
From:       Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date:       2010-09-01 16:38:11
Message-ID: 20100901163811.34EA5AC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1170613 by momeny:

BUG:249748 check for object before use

 M  +2 -1      passwordmanager.cpp  


--- trunk/extragear/network/choqok/libchoqok/passwordmanager.cpp #1170612:1170613
@@ -37,10 +37,11 @@
 {
 public:
     Private()
-    : wallet(0), conf(0)
+    : wallet(0), conf(0), cfg(0)
     {}
 
     ~Private() {
+        if(cfg)
         cfg->sync();
         delete wallet;
         delete conf;
[prev in list] [next in list] [prev in thread] [next in thread] 

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