metadataengine/server/src/mdssqlobjectmanipulate.cpp
branchRCL_3
changeset 19 82c0024438c8
parent 17 50de4d668bb6
child 27 4a4892eec172
--- a/metadataengine/server/src/mdssqlobjectmanipulate.cpp	Wed Mar 31 22:19:07 2010 +0300
+++ b/metadataengine/server/src/mdssqlobjectmanipulate.cpp	Wed Apr 14 16:24:03 2010 +0300
@@ -1067,9 +1067,8 @@
         CleanupClosePushL( objectIds );
         MMdsPreferences::UpdateL( KMassStorageMediaIdKey, MMdsPreferences::EPreferenceValueSet, (TUint32) aMediaId );
         SetFilesToNotPresentL( oldMediaId, EFalse, objectIds );
-        objectIds.Reset();
-        RemoveFilesNotPresentL( oldMediaId, &objectIds );
         CleanupStack::PopAndDestroy( &objectIds );
+        RemoveFilesNotPresentL( oldMediaId, NULL );
         }
     }