diff -r 5fae379060a7 -r bf6a71c50e42 genericopenlibs/posixrealtimeextensions/src/timerserver.cpp --- 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; } // -------------------------------------------------------------------------------