diff -r 6c59112cfd31 -r 38bf5461e270 emailservices/emailstore/message_store/server/src/MsgStoreStringSortResultRowSet.cpp --- a/emailservices/emailstore/message_store/server/src/MsgStoreStringSortResultRowSet.cpp Thu Sep 30 11:43:07 2010 +0300 +++ b/emailservices/emailstore/message_store/server/src/MsgStoreStringSortResultRowSet.cpp Thu Oct 14 17:33:43 2010 +0300 @@ -889,9 +889,10 @@ void CMsgStoreStringSortResultRowSet::AddRowL( TContainerId aMessageId, const TDesC& aString, TInt64 aDate ) { CStringRow* row = CStringRow::NewL( aMessageId, aDate, aString ); + CleanupStack::PushL( row ); row->SetGroupId( iCurGroupId++ ); InsertInOrderL( row ); - + CleanupStack::Pop( row ); //we need to find out where is the newly added row, if it is the first or //the last element in the sorted array, than it's position MAY NOT be accurate, //because we DON'T have the entire table in memory, in this case, we have to either