Skip to content

Commit

Permalink
Add missing ObDereference()
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
  • Loading branch information
lundman committed Jun 26, 2024
1 parent 57d5b97 commit bab1d06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/os/windows/zfs/zfs_vnops_windows_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ SendIoctlToMountManager(__in ULONG IoControlCode, __in PVOID InputBuffer,

if (irp == NULL) {
dprintf(" IoBuildDeviceIoControlRequest failed\n");
ObDereferenceObject(mountFileObject);
return (STATUS_INSUFFICIENT_RESOURCES);
}

Expand Down

0 comments on commit bab1d06

Please sign in to comment.