From 50058bc62134e4a23da48bb9f797a66fb25b1f91 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 21 Nov 2002 12:08:00 +0000 Subject: - delete the guiPart object in the destructor --- (limited to 'core') diff --git a/core/pim/today/plugins/mail/mailpluginimpl.cpp b/core/pim/today/plugins/mail/mailpluginimpl.cpp index e5a1e05..bd57bc9 100644 --- a/core/pim/today/plugins/mail/mailpluginimpl.cpp +++ b/core/pim/today/plugins/mail/mailpluginimpl.cpp @@ -24,6 +24,7 @@ MailPluginImpl::MailPluginImpl() { } MailPluginImpl::~MailPluginImpl() { + delete mailPlugin; } diff --git a/core/pim/today/plugins/todolist/todopluginimpl.cpp b/core/pim/today/plugins/todolist/todopluginimpl.cpp index b1849ff..c64113c 100644 --- a/core/pim/today/plugins/todolist/todopluginimpl.cpp +++ b/core/pim/today/plugins/todolist/todopluginimpl.cpp @@ -22,6 +22,7 @@ TodolistPluginImpl::TodolistPluginImpl() { } TodolistPluginImpl::~TodolistPluginImpl() { + delete todolistPlugin; } -- cgit v0.9.0.2