projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639e6d6
)
[FASTFAT] Don't leak statistics on dismount
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 18 Aug 2018 17:03:03 +0000
(19:03 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 18 Aug 2018 17:03:30 +0000
(19:03 +0200)
drivers/filesystems/fastfat/fsctl.c
patch
|
blob
|
history
diff --git
a/drivers/filesystems/fastfat/fsctl.c
b/drivers/filesystems/fastfat/fsctl.c
index
1cc45b0
..
b70a84c
100644
(file)
--- a/
drivers/filesystems/fastfat/fsctl.c
+++ b/
drivers/filesystems/fastfat/fsctl.c
@@
-1299,6
+1299,7
@@
VfatDismountVolume(
ExReleaseResourceLite(&DeviceExt->FatResource);
/* Release a few resources and quit, we're done */
+ ExFreePoolWithTag(DeviceExt->Statistics, TAG_STATS);
ExDeleteResourceLite(&DeviceExt->DirResource);
ExDeleteResourceLite(&DeviceExt->FatResource);
ObDereferenceObject(DeviceExt->FATFileObject);