Skip to content

Commit 047479e

Browse files
committed
[FASTFAT] Don't leak statistics on dismount
1 parent 639e6d6 commit 047479e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/filesystems/fastfat/fsctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,7 @@ VfatDismountVolume(
12991299
ExReleaseResourceLite(&DeviceExt->FatResource);
13001300

13011301
/* Release a few resources and quit, we're done */
1302+
ExFreePoolWithTag(DeviceExt->Statistics, TAG_STATS);
13021303
ExDeleteResourceLite(&DeviceExt->DirResource);
13031304
ExDeleteResourceLite(&DeviceExt->FatResource);
13041305
ObDereferenceObject(DeviceExt->FATFileObject);

0 commit comments

Comments
 (0)