cmmanager/cpdestinationplugin/src/cpadddestinationentryitemdata.cpp
changeset 27 489cf6208544
parent 23 7ec726f93df1
child 32 5c4486441ae6
--- a/cmmanager/cpdestinationplugin/src/cpadddestinationentryitemdata.cpp	Fri May 14 16:15:46 2010 +0300
+++ b/cmmanager/cpdestinationplugin/src/cpadddestinationentryitemdata.cpp	Thu May 27 13:17:01 2010 +0300
@@ -175,6 +175,7 @@
             CmDestinationShim *destination = cmm->destination(destinationList[i]);
             if (0 == dest.compare(destination->name())) {
                 retVal = false;
+                delete destination;
                 break;
             }
             delete destination;