cmmanager/cpdestinationplugin/src/cpiapitem.cpp
changeset 27 489cf6208544
parent 23 7ec726f93df1
child 46 95d45f234cf3
--- a/cmmanager/cpdestinationplugin/src/cpiapitem.cpp	Fri May 14 16:15:46 2010 +0300
+++ b/cmmanager/cpdestinationplugin/src/cpiapitem.cpp	Thu May 27 13:17:01 2010 +0300
@@ -223,6 +223,7 @@
             CmConnectionMethodShim *cm = destination->connectionMethodByID(mIapId);
             destination->deleteConnectionMethod(cm);
             destination->update();
+            delete cm;
             delete destination;
         } else {
             CmConnectionMethodShim *cm = mCmm->connectionMethod(mIapId);