telephonyserverplugins/multimodetsy/Multimode/gprs/Gprs.cpp
changeset 68 d0d9cc530d21
parent 0 3553901f7fa8
child 66 07a122eea281
--- a/telephonyserverplugins/multimodetsy/Multimode/gprs/Gprs.cpp	Wed Aug 18 10:57:47 2010 +0300
+++ b/telephonyserverplugins/multimodetsy/Multimode/gprs/Gprs.cpp	Thu Sep 02 21:42:07 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -75,7 +75,7 @@
     iATGprsClass        = CATGprsClass::NewL(iIo, this, iInit, iPhoneGlobals);
     iATGprsNtwkRegStatusChange= CATGprsNtwkRegStatusChange::NewL(iIo,this,iPhoneGlobals);
     iATGprsNtwkRegStatus= CATGprsNtwkRegStatus::NewL(iIo, this, iInit, iPhoneGlobals,iATGprsNtwkRegStatusChange);
-   	iMutex.CreateGlobal(KNullDesC, EOwnerProcess);
+   	User::LeaveIfError(iMutex.CreateGlobal(KNullDesC, EOwnerProcess));
     }
     
 RHandleBase* CGprs::GlobalKernelObjectHandle()