harvester/monitorplugins/mmcplugin/src/mmcmonitorplugin.cpp
changeset 25 8e4539ab1889
parent 21 50bf9db68373
child 28 c461c7fa72c2
--- a/harvester/monitorplugins/mmcplugin/src/mmcmonitorplugin.cpp	Mon May 03 12:55:01 2010 +0300
+++ b/harvester/monitorplugins/mmcplugin/src/mmcmonitorplugin.cpp	Fri May 14 16:17:23 2010 +0300
@@ -265,6 +265,11 @@
 	            mountData->iMountType = TMountData::EUnmount;
 	            iMountTask->StartUnmount( *mountData );
             	}
+            else
+                {
+                delete mountData;
+                mountData = NULL;
+                }
             }
         break;