diff --git a/extenders/extender.cpp b/extenders/extender.cpp index 612c47535..b89d89387 100644 --- a/extenders/extender.cpp +++ b/extenders/extender.cpp @@ -118,6 +118,11 @@ Extender::Extender(Applet *applet) Extender::~Extender() { + foreach (ExtenderItem *item, d->attachedExtenderItems) { + disconnect(item, 0, this, 0); + delete item; + } + delete d; }