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; + } } }