summaryrefslogtreecommitdiff
path: root/core
authorsimon <simon>2002-11-21 12:08:00 (UTC)
committer simon <simon>2002-11-21 12:08:00 (UTC)
commit50058bc62134e4a23da48bb9f797a66fb25b1f91 (patch) (side-by-side diff)
tree59ec820e2ce7ceba4a01c6b3cc95c1013cbd9b58 /core
parent58715bab157ca913a08b7ce26c230bbc0be5f70b (diff)
downloadopie-50058bc62134e4a23da48bb9f797a66fb25b1f91.zip
opie-50058bc62134e4a23da48bb9f797a66fb25b1f91.tar.gz
opie-50058bc62134e4a23da48bb9f797a66fb25b1f91.tar.bz2
- delete the guiPart object in the destructor
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/mail/mailpluginimpl.cpp1
-rw-r--r--core/pim/today/plugins/todolist/todopluginimpl.cpp1
2 files changed, 2 insertions, 0 deletions
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;
}