--- a/photosgallery/viewframework/tvout/src/glxhdmisurfaceupdater.cpp Wed Jun 09 09:41:51 2010 +0300
+++ b/photosgallery/viewframework/tvout/src/glxhdmisurfaceupdater.cpp Mon Jun 21 15:40:32 2010 +0300
@@ -268,7 +268,15 @@
else
{
ReleaseContent();
- }
+ if (iNextImagePath)
+ {
+ delete iNextImagePath;
+ iNextImagePath = NULL;
+ }
+ // Ongoing decoding is cancelled if any,reset the decoding flags.
+ iDecodingNext = EFalse;
+ iDecodingCurrent = EFalse;
+ }
// Initiate the HDMI by assigning the necessary values
InitiateHdmiL(aFsBitmap, aImageFile, aNextImageFile);
//Cancel the zoom timers if any