[Uml-devel] KDE/kdesdk/umbrello/umbrello

Ralf Habacker ralf.habacker at gmail.com
Sat Dec 17 22:19:51 UTC 2011


SVN commit 1268977 by habacker:

memory leak fix

 M  +3 -1      umllistview.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp #1268976:1268977
@@ -3105,8 +3105,10 @@
     if (!parent) {
         return;
     }
-    if (parent == m_lv[Uml::ModelType::Logical])
+    if (parent == m_lv[Uml::ModelType::Logical]) {
+        delete m_datatypeFolder;
         m_datatypeFolder = 0;
+    }
     for (int i=0; i < parent->childCount(); i++)
         parent->removeChild(parent->child(i));
 }




More information about the umbrello-devel mailing list