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

Ralf Habacker ralf.habacker at gmail.com
Sat Dec 17 11:34:42 UTC 2011


SVN commit 1268940 by habacker:

fixed memory leak

 M  +1 -1      umllistview.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp #1268939:1268940
@@ -149,7 +149,6 @@
 
     DEBUG_REGISTER(DBG_SRC);
 
-    m_datatypeFolder = 0;
     m_editItem = 0;
     //setup slots/signals
     connect(this, SIGNAL(collapsed(QTreeWidgetItem *)),
@@ -165,6 +164,7 @@
  */
 UMLListView::~UMLListView()
 {
+    delete m_datatypeFolder;
 }
 
 void UMLListView::setTitle(int column, const QString &text)




More information about the umbrello-devel mailing list