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

List:       kde-commits
Subject:    extragear/sysadmin/muon/installer
From:       Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date:       2010-12-22 18:29:10
Message-ID: 20101222182910.55EFDAC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1208656 by jmthomas:

Since invalid Application pointers are not added to the application list, delete them \
when they are found to be invalid. Otherwise we leak them.


 M  +1 -0      ApplicationBackend.cpp  


--- trunk/extragear/sysadmin/muon/installer/ApplicationBackend.cpp #1208655:1208656
@@ -77,6 +77,7 @@
         } else {
             // Invalid .desktop file
             // kDebug() << fileName;
+            delete app;
         }
     }
     qSort(popconScores);


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

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