photosgallery/viewframework/commandhandlers/tsrc/ut_commandhandlermoreinfo/src/t_glxcommandhandlermoreinfo.cpp
branchRCL_3
changeset 11 71da52165949
parent 0 4e91876724a2
child 13 bcb43dc84c44
--- a/photosgallery/viewframework/commandhandlers/tsrc/ut_commandhandlermoreinfo/src/t_glxcommandhandlermoreinfo.cpp	Fri Feb 19 22:51:01 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/tsrc/ut_commandhandlermoreinfo/src/t_glxcommandhandlermoreinfo.cpp	Fri Mar 12 15:42:44 2010 +0200
@@ -43,7 +43,10 @@
     
 CGlxCommandHandlerMoreInfoTester::~CGlxCommandHandlerMoreInfoTester()
     {
-    iMoreInfoHandler->Deactivate();
+    if ( iMoreInfoHandler )
+        {
+        iMoreInfoHandler->Deactivate();
+        }
     
     iCommandHandlerList.ResetAndDestroy();
 	iCommandHandlerList.Close();