From b708ab01e9b0253f419fba7dbab002767192e44e Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Wed, 5 Nov 2014 18:52:11 +0000 Subject: [PATCH] [FASTFAT] - VfatCleanupFile: do not dereference the FCB when closing the volume file object. ObDereferenceObject already causes an IRP_MJ_CLOSE request to be sent, which dereferences the FCB. CORE-8733 #resolve svn path=/trunk/; revision=65269 --- reactos/drivers/filesystems/fastfat/cleanup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/drivers/filesystems/fastfat/cleanup.c b/reactos/drivers/filesystems/fastfat/cleanup.c index 8bc68b82ad7..f9bde77d206 100644 --- a/reactos/drivers/filesystems/fastfat/cleanup.c +++ b/reactos/drivers/filesystems/fastfat/cleanup.c @@ -92,7 +92,6 @@ VfatCleanupFile( pFcb->FileObject = NULL; CcUninitializeCacheMap(tmpFileObject, NULL, NULL); ObDereferenceObject(tmpFileObject); - vfatReleaseFCB(IrpContext->DeviceExt, pFcb); } CcPurgeCacheSection(FileObject->SectionObjectPointer, NULL, 0, FALSE);