diff -r 29b591713d44 -r 8962128a2656 vpnengine/ikev1lib/src/ikev1pluginsession.cpp --- a/vpnengine/ikev1lib/src/ikev1pluginsession.cpp Tue Feb 02 00:53:00 2010 +0200 +++ b/vpnengine/ikev1lib/src/ikev1pluginsession.cpp Fri Apr 16 16:02:48 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2008-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" @@ -1447,7 +1447,8 @@ CleanupStack::Pop(); //negotiation safe return; } - CleanupStack::PopAndDestroy(); + CleanupStack::Pop(); + DeleteNegotiation(negotiation); } return; } @@ -1900,7 +1901,7 @@ // void CIkev1PluginSession::DoCancelDataTransfer() { - iReceiver->Cancel(); + iReceiver->CancelReceive(); iDataInterface.StopReceive(); DoEmptySendQueue(); iSender->Cancel();