mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:41:40 +00:00
[FASTFAT][FLTMGR][NTOS] Do not explicitly call ObfDereferenceObject() (#1636)
"Most code should not directly call the platform-specific ObfDereferenceObject() function but use the ObDereferenceObject() macro instead." CORE-16081
This commit is contained in:
parent
be820b9ca3
commit
42ce8519b6
9 changed files with 17 additions and 17 deletions
|
@ -582,7 +582,7 @@ VfatCheckForDismount(
|
|||
ExDeleteResourceLite(&DeviceExt->FatResource);
|
||||
|
||||
/* Dismount our device if possible */
|
||||
ObfDereferenceObject(DeviceExt->StorageDevice);
|
||||
ObDereferenceObject(DeviceExt->StorageDevice);
|
||||
IoDeleteDevice(DeviceExt->VolumeDevice);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue