mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +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
|
@ -247,7 +247,7 @@ WmipOpenGuidObject(
|
|||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("ObOpenObjectByPointer failed: 0x%lx\n", Status);
|
||||
ObfDereferenceObject(GuidObject);
|
||||
ObDereferenceObject(GuidObject);
|
||||
GuidObject = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue