userlibandfileserver/fileserver/smassstorage/cbulkonlytransportusbcscldd.cpp
changeset 270 ea2cef07f9fe
parent 39 5d2844f35677
child 286 48e57fb1237e
equal deleted inserted replaced
255:d45b74d3fb20 270:ea2cef07f9fe
     1 /*
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   319 CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd()
   319 CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd()
   320 	{
   320 	{
   321 	__FNLOG("CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd");
   321 	__FNLOG("CBulkOnlyTransportUsbcScLdd::~CBulkOnlyTransportUsbcScLdd");
   322 	if (iInterfaceConfigured)
   322 	if (iInterfaceConfigured)
   323 		{
   323 		{
       
   324         Stop();
   324 		TInt err = iSCReadEndpointBuf.Close(); 
   325 		TInt err = iSCReadEndpointBuf.Close(); 
   325 		err = iSCWriteEndpointBuf.Close();
   326 		err = iSCWriteEndpointBuf.Close();
   326 		delete iControlInterface ;
   327 		delete iControlInterface ;
   327 		delete iDeviceStateNotifier;
   328 		delete iDeviceStateNotifier;
   328 		delete iChunk;
   329 		delete iChunk;