controlpanelplugins/themeplugin/src/cpthemeutil.cpp
changeset 41 ab0490982943
parent 33 0cfa53de576f
--- a/controlpanelplugins/themeplugin/src/cpthemeutil.cpp	Thu Sep 02 17:11:27 2010 +0800
+++ b/controlpanelplugins/themeplugin/src/cpthemeutil.cpp	Thu Sep 30 16:15:53 2010 +0800
@@ -80,6 +80,7 @@
     }
                        
     if(name.isEmpty() || (hidden == "true") ||( hidden == "")) {
+        delete themeInfo;
         return NULL;
     }