backport: don't leak config dialogs that are open when the widget goes away

svn path=/branches/KDE/4.2/kdelibs/; revision=930711
This commit is contained in:
Aaron J. Seigo 2009-02-24 02:54:13 +00:00
parent 2321a47eae
commit be24975ed6

View File

@ -155,6 +155,7 @@ Applet::~Applet()
d->extender->saveState();
}
delete KConfigDialog::exists(d->configDialogId());
delete d;
}