diff options
| author | SpCreatePackaedLicense | 2025-02-14 17:01:45 +0000 |
|---|---|---|
| committer | SpCreatePackaedLicense | 2025-02-14 17:39:30 +0000 |
| commit | 7adb01c871180b7d66b0ceaf098d92e74ed95816 (patch) | |
| tree | c33e220c8c09e3e37fd96018d0b79eb5c99d76f6 | |
| parent | 19f77a968032f2a2b815f4b36106f91b4872b38c (diff) | |
| download | miieow-7adb01c871180b7d66b0ceaf098d92e74ed95816.zip | |
fix reference count leak (maybe)
| -rw-r--r-- | MIIEow/MIIEow/Source.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MIIEow/MIIEow/Source.c b/MIIEow/MIIEow/Source.c index 46998a7..8e63102 100644 --- a/MIIEow/MIIEow/Source.c +++ b/MIIEow/MIIEow/Source.c @@ -256,7 +256,8 @@ 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; -}
\ No newline at end of file +} |
