profilesservices/MediaFileList/Src/mediafilepreview.cpp
branchRCL_3
changeset 20 3b67655da2cc
parent 0 8c5d936e5675
--- a/profilesservices/MediaFileList/Src/mediafilepreview.cpp	Wed Jun 09 10:00:07 2010 +0300
+++ b/profilesservices/MediaFileList/Src/mediafilepreview.cpp	Mon Jun 21 15:59:17 2010 +0300
@@ -101,6 +101,12 @@
     iProperty.Close();
     
     iApaSession.Close();
+
+    if ( iBacklightTimer )
+        {
+        delete iBacklightTimer;
+        iBacklightTimer = NULL;
+        }
     }
 
 
@@ -581,12 +587,6 @@
 		{
 		delete iVideoPlayer;
     	}
-	
-	if ( iBacklightTimer )
-		{
-		delete iBacklightTimer;
-		iBacklightTimer = NULL;
-		}
     }