diff -r cc88aabd867b -r 83c58605f049 userlibandfileserver/fileserver/sfile/sf_local.cpp --- a/userlibandfileserver/fileserver/sfile/sf_local.cpp Wed Jun 09 10:31:37 2010 +0100 +++ b/userlibandfileserver/fileserver/sfile/sf_local.cpp Tue Jul 06 11:40:58 2010 +0100 @@ -386,7 +386,8 @@ __ASSERT_ALWAYS(aDrive>=0 && aDrive= KMaxLocalDrives && iProxyDriveMapping[iMapping[aDrive]-KMaxLocalDrives],Fault(EClearProxyDriveMapping2)); TInt idx = iMapping[aDrive]-KMaxLocalDrives; - delete iProxyDriveMapping[idx]; + if (iProxyDriveMapping[idx]->Mount() == NULL) // don't delete if it's still owned by its mount + delete iProxyDriveMapping[idx]; iProxyDriveMapping[idx] = NULL; iMapping[aDrive] = KDriveInvalid; }