diff -r d141fc1ad77b -r e61a04404bdf mpx/commonframework/common/src/mpxcollectionpath.cpp --- a/mpx/commonframework/common/src/mpxcollectionpath.cpp Tue Jul 06 14:48:59 2010 +0300 +++ b/mpx/commonframework/common/src/mpxcollectionpath.cpp Wed Aug 18 10:16:02 2010 +0300 @@ -606,6 +606,7 @@ // EXPORT_C void CMPXCollectionPath::SelectionL(RArray& aIds) const { + CleanupClosePushL(aIds); aIds.Reset(); TInt idCount(iIds.Count()); TInt selCount(iSelection.Count()); @@ -617,6 +618,7 @@ aIds.AppendL(iIds[idIndex]); } } + CleanupStack::Pop(); } // -----------------------------------------------------------------------------