photosgallery/imgvwr/src/glxivwrdocument.cpp
branchRCL_3
changeset 13 bcb43dc84c44
parent 9 6b87b143d312
--- a/photosgallery/imgvwr/src/glxivwrdocument.cpp	Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/imgvwr/src/glxivwrdocument.cpp	Wed Mar 31 21:31:03 2010 +0300
@@ -115,7 +115,7 @@
     // Make sure that aFile is closed in leave situation
     CleanupClosePushL( aFile );
     iImageViewerInstance->SetImageFileHandleL(aFile);	
-    CleanupStack::PopAndDestroy(); // Close aFile
+    CleanupStack::PopAndDestroy( &aFile );
     
     // Open the viewer
     static_cast<CGlxIVwrAppUi*>(iAppUi)->HandleOpenFileL();