locationlandmarksrefappfors60/Src/LandmarksModel.cpp
branchRCL_3
changeset 11 e15b7f06eba6
parent 0 522cd55cc3d7
--- a/locationlandmarksrefappfors60/Src/LandmarksModel.cpp	Tue Apr 27 16:30:53 2010 +0300
+++ b/locationlandmarksrefappfors60/Src/LandmarksModel.cpp	Tue May 11 16:07:40 2010 +0300
@@ -117,6 +117,8 @@
     const CArrayFix<TInt>& aSelectionIndexes,
     RArray<TPosLmItemId>& aItemIds )
     {
+	CleanupClosePushL(aItemIds);
+	
     aItemIds.Reset();
     if ( iItemIds )
         {
@@ -132,6 +134,8 @@
                 }
             }
         }
+		
+	CleanupStack::Pop(&aItemIds);
     }
 
 // -----------------------------------------------------------------------------