[Kst] extragear/graphics/kst/kst/datasources/planck
George Staikos
staikos at kde.org
Wed Sep 21 14:04:11 CEST 2005
SVN commit 462572 by staikos:
fix memory leak
M +2 -0 planckobj.cpp
--- trunk/extragear/graphics/kst/kst/datasources/planck/planckobj.cpp #462571:462572
@@ -489,6 +489,8 @@
PIOErr e = PIOGetObjectList(&objNames, &objTypes, _group);
if (e > 0) {
_valid = true;
+ delete[] firstIndex;
+ delete[] lastIndex;
firstIndex = new PIOLONG[e];
lastIndex = new PIOLONG[e];
objectListSize = e;
More information about the Kst
mailing list