mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:43:51 +00:00
[FASTFAT] Don't leak statistics on dismount
This commit is contained in:
parent
639e6d635f
commit
047479e0a2
1 changed files with 1 additions and 0 deletions
|
@ -1299,6 +1299,7 @@ VfatDismountVolume(
|
||||||
ExReleaseResourceLite(&DeviceExt->FatResource);
|
ExReleaseResourceLite(&DeviceExt->FatResource);
|
||||||
|
|
||||||
/* Release a few resources and quit, we're done */
|
/* Release a few resources and quit, we're done */
|
||||||
|
ExFreePoolWithTag(DeviceExt->Statistics, TAG_STATS);
|
||||||
ExDeleteResourceLite(&DeviceExt->DirResource);
|
ExDeleteResourceLite(&DeviceExt->DirResource);
|
||||||
ExDeleteResourceLite(&DeviceExt->FatResource);
|
ExDeleteResourceLite(&DeviceExt->FatResource);
|
||||||
ObDereferenceObject(DeviceExt->FATFileObject);
|
ObDereferenceObject(DeviceExt->FATFileObject);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue