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:
parent
7c1d536ad3
commit
37f217a8ce
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue