--- 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 );
}
}