--- a/genericopenlibs/posixrealtimeextensions/src/timerserver.cpp Fri Jun 11 15:26:22 2010 +0300
+++ b/genericopenlibs/posixrealtimeextensions/src/timerserver.cpp Wed Aug 18 11:27:44 2010 +0300
@@ -136,10 +136,12 @@
// -------------------------------------------------------------------------------
void CTimerServer::ConstructL()
{
- iShutdown = new(ELeave) CShutdown;
- CleanupStack::PushL(iShutdown);
- iShutdown->ConstructL();
+ CShutdown* shutdown = new(ELeave) CShutdown;
+ CleanupStack::PushL(shutdown);
+ shutdown->ConstructL();
CleanupStack::Pop();
+ iShutdown = shutdown;
+ shutdown = 0;
}
// -------------------------------------------------------------------------------