diff -r a179b74831c9 -r c1f20ce4abcf userlibandfileserver/fileserver/sfat32/sl_drv.cpp --- a/userlibandfileserver/fileserver/sfat32/sl_drv.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/userlibandfileserver/fileserver/sfat32/sl_drv.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -46,13 +46,12 @@ Close the interface to the media driver */ void TDriveInterface::Close() -{ +{ if((iMount != NULL) && (iMount->LocalDrive() != NULL)) { ASSERT(iMount->LocalDrive()->Mount() == NULL || iMount->LocalDrive()->Mount() == iMount); iMount->LocalDrive()->SetMount(NULL); - } - + } iMount = NULL; } @@ -551,7 +550,7 @@ LeaveCriticalSection(); return nRes; } - + TInt TDriveInterface::XProxyDriveWrapper::Read(TInt64 aPos,TInt aLength,TDes8& aTrg) const { EnterCriticalSection();