telephonyserverplugins/multimodetsy/Multimode/gprs/Gprs.cpp
changeset 64 b34bb05ac869
parent 0 3553901f7fa8
child 66 07a122eea281
--- a/telephonyserverplugins/multimodetsy/Multimode/gprs/Gprs.cpp	Thu Jul 29 12:12:57 2010 +0100
+++ b/telephonyserverplugins/multimodetsy/Multimode/gprs/Gprs.cpp	Wed Aug 25 14:35:42 2010 +0100
@@ -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()