userlibandfileserver/fileserver/sfat32/sl_drv.cpp
changeset 176 af6ec97d9189
parent 148 31ea0f8e3c99
--- a/userlibandfileserver/fileserver/sfat32/sl_drv.cpp	Wed Jun 23 11:59:44 2010 +0100
+++ b/userlibandfileserver/fileserver/sfat32/sl_drv.cpp	Wed Jun 23 12:52:28 2010 +0100
@@ -49,6 +49,7 @@
 {	 
 	 if((iMount != NULL) && (iMount->LocalDrive() != NULL))
 		{
+		ASSERT(iMount->LocalDrive()->Mount() == NULL || iMount->LocalDrive()->Mount() == iMount);
 		iMount->LocalDrive()->SetMount(NULL);
 		}
      iMount = NULL;