cmmanager/cpdestinationplugin/src/cpadddestinationentryitemdata.cpp
changeset 27 489cf6208544
parent 23 7ec726f93df1
child 32 5c4486441ae6
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
   173     
   173     
   174         for (int i = 0; i < destinationList.count(); i ++) {
   174         for (int i = 0; i < destinationList.count(); i ++) {
   175             CmDestinationShim *destination = cmm->destination(destinationList[i]);
   175             CmDestinationShim *destination = cmm->destination(destinationList[i]);
   176             if (0 == dest.compare(destination->name())) {
   176             if (0 == dest.compare(destination->name())) {
   177                 retVal = false;
   177                 retVal = false;
       
   178                 delete destination;
   178                 break;
   179                 break;
   179             }
   180             }
   180             delete destination;
   181             delete destination;
   181         }
   182         }
   182     } else {
   183     } else {