[Kst] kdeextragear-2/kst/kst/datasources/planck
George Staikos
staikos at kde.org
Fri May 14 17:46:40 CEST 2004
CVS commit by staikos:
forward port compile fix
M +5 -5 planckobj.cpp 1.17
--- kdeextragear-2/kst/kst/datasources/planck/planckobj.cpp #1.16:1.17
@@ -178,5 +178,5 @@ int Object::readObject(const QString& ob
}
- PIOObject *MyObject;
+ PIOObject *MyObject = 0L;
PIOParseData MyData;
@@ -263,7 +263,7 @@ void ObjectGroup::close() {
kdDebug () << "Close group" << endl;
if (_valid) {
- free(objNames);
+ _PIOFREE(objNames);
objNames = 0L;
- free(objTypes);
+ _PIOFREE(objTypes);
objTypes = 0L;
@@ -284,7 +284,7 @@ void ObjectGroup::close() {
bool ObjectGroup::updateObjectList() {
if (objNames) {
- free(objNames);
+ _PIOFREE(objNames);
objNames = 0L;
- free(objTypes);
+ _PIOFREE(objTypes);
objTypes = 0L;
}
More information about the Kst
mailing list