From: Pierre Schweitzer Date: Sun, 17 Dec 2017 17:20:04 +0000 (+0100) Subject: [FASTFAT] Fix a handle count leak on volume close. This can prevent locking a volume! X-Git-Tag: 0.4.9-dev~645 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=de0368614814293c40517551911c0057bde7dfed;ds=sidebyside [FASTFAT] Fix a handle count leak on volume close. This can prevent locking a volume! --- diff --git a/drivers/filesystems/fastfat/cleanup.c b/drivers/filesystems/fastfat/cleanup.c index 85b4ea2d2cb..d584dee8595 100644 --- a/drivers/filesystems/fastfat/cleanup.c +++ b/drivers/filesystems/fastfat/cleanup.c @@ -41,6 +41,7 @@ VfatCleanupFile( if (IsVolume) { pFcb->OpenHandleCount--; + DeviceExt->OpenHandleCount--; if (pFcb->OpenHandleCount != 0) {