201025_04
authorhgs
Fri, 02 Jul 2010 19:56:46 +0530
changeset 46 ecd7b9840282
parent 45 b6db4fd4947b
child 51 0b38fc5b94c6
201025_04
calendarui/controller/src/calencontroller.cpp
--- a/calendarui/controller/src/calencontroller.cpp	Mon Jun 28 15:22:02 2010 +0530
+++ b/calendarui/controller/src/calencontroller.cpp	Fri Jul 02 19:56:46 2010 +0530
@@ -65,6 +65,7 @@
     
     iNextServicesCommandBase = KCustomCommandRangeStart;
     iRefCount = 0;
+    mAgendaUtil = 0;
     
     TRACE_EXIT_POINT;
 }
@@ -290,6 +291,12 @@
     	delete iCustomisationManager;
     	iCustomisationManager = NULL;
 		}
+		
+    if (mAgendaUtil) {
+        delete mAgendaUtil;
+        mAgendaUtil = 0;
+    }
+    
     Dll::SetTls( NULL );
     
     TRACE_EXIT_POINT;