From be24975ed6c260ccc291d937f1c719ec647b8075 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 24 Feb 2009 02:54:13 +0000 Subject: [PATCH] backport: don't leak config dialogs that are open when the widget goes away svn path=/branches/KDE/4.2/kdelibs/; revision=930711 --- applet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/applet.cpp b/applet.cpp index 940ab2b44..33e06c46a 100644 --- a/applet.cpp +++ b/applet.cpp @@ -155,6 +155,7 @@ Applet::~Applet() d->extender->saveState(); } + delete KConfigDialog::exists(d->configDialogId()); delete d; }