mpx/commonframework/common/src/mpxcollectionpath.cpp
branchRCL_3
changeset 24 6c1dfe4da5dd
parent 0 a2952bb97e68
child 25 63223d4fd956
--- a/mpx/commonframework/common/src/mpxcollectionpath.cpp	Thu Aug 19 10:24:28 2010 +0300
+++ b/mpx/commonframework/common/src/mpxcollectionpath.cpp	Tue Aug 31 15:41:40 2010 +0300
@@ -606,6 +606,7 @@
 //
 EXPORT_C void CMPXCollectionPath::SelectionL(RArray<TMPXItemId>& aIds) const
     {
+    CleanupClosePushL(aIds);
     aIds.Reset();
     TInt idCount(iIds.Count());
     TInt selCount(iSelection.Count());
@@ -617,6 +618,7 @@
             aIds.AppendL(iIds[idIndex]);
             }
         }
+    CleanupStack::Pop();
     }
 
 // -----------------------------------------------------------------------------