omadrm/drmengine/dm/src/Oma1DcfCreator.cpp
changeset 84 b09186059647
parent 23 493788a4a8a4
--- a/omadrm/drmengine/dm/src/Oma1DcfCreator.cpp	Tue Sep 28 14:08:58 2010 +0300
+++ b/omadrm/drmengine/dm/src/Oma1DcfCreator.cpp	Thu Oct 14 13:45:23 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002, 2003 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-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"
@@ -82,10 +82,7 @@
 // -----------------------------------------------------------------------------
 EXPORT_C COma1DcfCreator* COma1DcfCreator::NewL()
     {
-    COma1DcfCreator* self = new COma1DcfCreator();
-
-    User::LeaveIfNull(self);
-
+    COma1DcfCreator* self = new (ELeave) COma1DcfCreator();
     CleanupStack::PushL(self);
     self->ConstructL();
     CleanupStack::Pop();