[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri May 23 01:07:58 CEST 2003


CVS commit by staikos: 

Fix vector leaks


  M +3 -0      kstplugin.cpp   1.13


--- kdeextragear-2/kst/kst/kstplugin.cpp  #1.12:1.13
@@ -77,4 +77,7 @@ KstPlugin::~KstPlugin() {
     _outputVectors.remove(0);
     v->decUsage();
+    if (v->getUsage() == 0) {
+      delete v;
+    }
   }
 }




More information about the Kst mailing list