No, it was QObject-style owned by the Workspace object, not that the delete breaks anything.

BTW, the check in 'if(ptr) delete ptr;' is useless, 'delete NULL;' is a no-op.

svn path=/trunk/kdebase/kwin/; revision=165288
This commit is contained in:
Luboš Luňák 2002-07-06 20:16:36 +00:00
parent 7c1d536ad3
commit 37f217a8ce

View file

@ -487,9 +487,8 @@ Workspace::~Workspace()
delete rootInfo;
delete supportWindow;
delete mgr;
//CT was this a(n unimportant) leak until 29Jun2002?
if (d->startup) delete d->startup;
if (d->initPositioning) delete d->initPositioning;
delete d->startup;
delete d->initPositioning;
delete d;
_self = 0;
}