photosgallery/gallery/src/glxdocument.cpp
branchRCL_3
changeset 18 bcb43dc84c44
parent 9 6b87b143d312
--- a/photosgallery/gallery/src/glxdocument.cpp	Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/gallery/src/glxdocument.cpp	Wed Mar 31 21:31:03 2010 +0300
@@ -110,7 +110,7 @@
 	// Reset old data
 	ResetDocument();    
 	iImageViewerInstance->SetImageFileHandleL(aFile);	
-	CleanupStack::PopAndDestroy(); // Close aFile
+	CleanupStack::PopAndDestroy( &aFile );
 	}
 
 // ----------------------------------------------------------------------------