--- a/wlan_bearer/wlannwif/etherpkt/CardDll.cpp Wed Aug 18 11:35:02 2010 +0300
+++ b/wlan_bearer/wlannwif/etherpkt/CardDll.cpp Thu Sep 02 22:23:59 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2002-2009 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"
@@ -16,7 +16,7 @@
*/
/*
-* %version: 13 %
+* %version: 14 %
*/
#include <nifmbuf.h>
@@ -81,8 +81,12 @@
iReceiver = CReceiver::NewL( this );
User::LeaveIfError( iCard.Open() );
+
+ CleanupClosePushL( iCard );
User::LeaveIfError( iCard.InitialiseBuffers() );
+
+ CleanupStack::Pop( &iCard );
}