harvester/monitorplugins/mmcplugin/src/mmcmonitorplugin.cpp
branchRCL_3
changeset 26 9f21bab39f42
parent 15 3cebc1a84278
child 27 4a4892eec172
--- a/harvester/monitorplugins/mmcplugin/src/mmcmonitorplugin.cpp	Tue Apr 27 17:05:23 2010 +0300
+++ b/harvester/monitorplugins/mmcplugin/src/mmcmonitorplugin.cpp	Tue May 11 16:36:55 2010 +0300
@@ -265,6 +265,11 @@
 	            mountData->iMountType = TMountData::EUnmount;
 	            iMountTask->StartUnmount( *mountData );
             	}
+            else
+                {
+                delete mountData;
+                mountData = NULL;
+                }
             }
         break;