[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Wed Jun 22 16:52:35 CEST 2005


SVN commit 427979 by staikos:

memory leak


 M  +4 -1      kstviewlabel.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #427978:427979
@@ -38,10 +38,10 @@
 
 /*
 TODO:
+- [ ] should be supported as text also
 - \n
 - \t
 - Better dialog - perhaps make a property editor for view objects
-- RTL support
 - Optimize
 - Rendering testcases
 - Show everyone that this rocks
@@ -72,10 +72,13 @@
 KstViewLabel::~KstViewLabel() {
   delete _editDialog;
   _editDialog = 0L;
+  delete _parsed;
+  _parsed = 0L;
 }
 
 
 void KstViewLabel::reparse() {
+  delete _parsed;
   _parsed = Label::parse(_txt, _interpret);
   setDirty();
 }


More information about the Kst mailing list