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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/browsers/collectionbrowser
From:       Alejandro Daniel Wainzinger <aikawarazuni () gmail ! com>
Date:       2008-11-17 8:48:39
Message-ID: 1226911719.942859.18532.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 885383 by awainzinger:

Delete querymaker if no CollectionCapability, fixes potential memory leak.


 M  +3 -0      CollectionTreeView.cpp  


--- trunk/extragear/multimedia/amarok/src/browsers/collectionbrowser/CollectionTreeView.cpp \
#885382:885383 @@ -753,7 +753,10 @@
         actions = cc->collectionActions( qm );
     }
     else
+    {
         debug() << "Does not have collection capability!";
+        qm->deleteLater();
+    }
 
 // Sample delete action skeleton, will be replaced
     /*


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

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