photosgallery/controllers/collectionmanager/src/glxcollectionselectionpopup.cpp
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
--- a/photosgallery/controllers/collectionmanager/src/glxcollectionselectionpopup.cpp	Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/controllers/collectionmanager/src/glxcollectionselectionpopup.cpp	Tue Apr 27 16:37:53 2010 +0300
@@ -35,6 +35,7 @@
         RArray<TUint32>& aSelectedIds, TUint32 aCollectionType, 
         TBool aAllowMultipleSelection, TBool aEnableContainerCreation)
 	{
+    CleanupClosePushL(aSelectedIds);
 	TUint32 collectionId = 0;
 	CMPXFilter* filter = NULL;
 
@@ -95,6 +96,7 @@
     	CleanupStack::PopAndDestroy(filter);
     	}
     	
+    CleanupStack::Pop(&aSelectedIds);
     
     if (accepted)
         {