calendarui/application/src/main.cpp
changeset 23 fd30d51f876b
parent 18 c198609911f9
child 26 a949c2543c15
child 45 b6db4fd4947b
--- a/calendarui/application/src/main.cpp	Fri Apr 16 14:57:40 2010 +0300
+++ b/calendarui/application/src/main.cpp	Mon May 03 12:30:32 2010 +0300
@@ -52,7 +52,13 @@
     
     // Create the Calendar service provider
     CalenServiceProvider service(controller);
-    return app.exec();
+    
+    int retValue = app.exec();
+    
+    // delete the controller
+    controller->Release();
+    
+    return retValue;
     }