fix reference count leak (maybe)
This commit is contained in:
parent
19f77a9680
commit
7adb01c871
@ -256,6 +256,7 @@ MwCtl(_In_ PDEVICE_OBJECT pDeviceObject, _In_ PIRP pIrp)
|
||||
}
|
||||
|
||||
Cleanup:
|
||||
if (pTargetProcess != NULL) ObDereferenceObject(pTargetProcess);
|
||||
pIrp->IoStatus.Status = Status;
|
||||
IoCompleteRequest(pIrp, IO_NO_INCREMENT);
|
||||
return Status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user