messagingfw/watcherfw/src/watcher.cpp
branchRCL_3
changeset 46 d51193d814ea
parent 43 d2c4c66342f3
--- a/messagingfw/watcherfw/src/watcher.cpp	Tue Aug 31 15:41:11 2010 +0300
+++ b/messagingfw/watcherfw/src/watcher.cpp	Wed Sep 01 12:27:27 2010 +0100
@@ -43,7 +43,6 @@
 	// Launch the start-up manager that will launch the watchers in the 
  	// correct start-up state
 	CWatcherSSAStartupMgr* startupMgr = CWatcherSSAStartupMgr::NewL();
-	CleanupStack::PushL(startupMgr);
 
 	// The System Starter is waiting for us (start_method = EWaitForStart)
 	// so we rendez-vous so it can start the next process in the SSC
@@ -54,7 +53,7 @@
 	CActiveScheduler::Start();
 	
 	// Tidy up
-	CleanupStack::PopAndDestroy(2, scheduler);
+	CleanupStack::PopAndDestroy(scheduler);
 	}
 
 static TInt DoLaunchThread(TAny*)