diff -r b66b8f3a7fd8 -r e7635922c074 messagingfw/msgsrvnstore/server/src/msvindexadapter.cpp --- a/messagingfw/msgsrvnstore/server/src/msvindexadapter.cpp Wed Jul 21 02:03:54 2010 +0530 +++ b/messagingfw/msgsrvnstore/server/src/msvindexadapter.cpp Tue Aug 03 21:08:41 2010 +0530 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -109,7 +109,7 @@ delete folderNode; } - iFreePoolInstance->ReleaseEntry(iRootEntry); + iFreePoolInstance->ReleaseEntryL(iRootEntry); iRootEntry = NULL; // 3. Delete internal data structure. @@ -976,7 +976,7 @@ TMsvId parentId = entry->Entry().Parent(); if(releaseEntry) { - iFreePoolInstance->ReleaseEntry(entry, ETrue); + iFreePoolInstance->ReleaseEntryL(entry, ETrue); } CMsvEntrySelection* children = new(ELeave)CMsvEntrySelection; CleanupStack::PushL(children); @@ -1051,7 +1051,7 @@ // Release the entry, since it is not added to cache. if(releaseEntry) { - iFreePoolInstance->ReleaseEntry(entry, ETrue); + iFreePoolInstance->ReleaseEntryL(entry, ETrue); } User::LeaveIfError(err); CleanupStack::PopAndDestroy(); //children @@ -1487,7 +1487,7 @@ newParentEntry, descendentList, resetOldParentOwnerFlag); - iNonCommittedChangedEntryList.Append(entryDetails); + iNonCommittedChangedEntryList.AppendL(entryDetails); if(descendentList) CleanupStack::Pop(descendentList); } @@ -1672,7 +1672,7 @@ if(aIsDanglingEntry) { // Release CMsvCacheEntry to freepool. - iFreePoolInstance->ReleaseEntry(serverEntry, ETrue); + iFreePoolInstance->ReleaseEntryL(serverEntry, ETrue); } return KErrNone; } @@ -3670,7 +3670,7 @@ // we need to release the entry explicitly. if(releaseEntry) { - iFreePoolInstance->ReleaseEntry(entry, ETrue); + iFreePoolInstance->ReleaseEntryL(entry, ETrue); User::LeaveIfError(err); } else @@ -3703,7 +3703,7 @@ ); if(releaseEntry) { - iFreePoolInstance->ReleaseEntry(entry, ETrue); + iFreePoolInstance->ReleaseEntryL(entry, ETrue); } User::LeaveIfError(err); CleanupStack::PopAndDestroy(); //children @@ -3757,7 +3757,7 @@ TMsvId parentId = entry->Entry().Parent(); if(releaseEntry) { - iFreePoolInstance->ReleaseEntry(entry, ETrue); + iFreePoolInstance->ReleaseEntryL(entry, ETrue); } // Find the parent in the cache - we may need to update its owner status flag both in cache and DB. @@ -3768,7 +3768,7 @@ updateTheParent = EFalse; if(releaseEntry) { - iFreePoolInstance->ReleaseEntry(entry, ETrue); + iFreePoolInstance->ReleaseEntryL(entry, ETrue); } } else