[Kst] branches/work/kst/1.1/kst/kst/datasources/planck
George Staikos
staikos at kde.org
Wed Sep 21 14:04:37 CEST 2005
SVN commit 462574 by staikos:
backport: memory leak fix
M +2 -0 planckobj.cpp
--- branches/work/kst/1.1/kst/kst/datasources/planck/planckobj.cpp #462573:462574
@@ -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