mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTOS:IO] IoDisconnectInterrupt(): Switch to ExFreePoolWithTag() (#6503)
Follow-up to commit 24a14abf2 (r57412).
HBelusca's comment:
> If this ExFreePoolWithTag() call was left commented, it's probably
> because, back in the day where I introduced it, there was a pool
> corruption that was detected, the source of which was unknown at
> that time. In retrospect, it is most probably the interrupt disconnect
> bug in IoDisconnectInterrupt() that was causing it. Now that this
> bug has been fixed just previously, it should be safe to re-enable
> pool freeing with tag.
This commit is contained in:
committed by
Hermès Bélusca-Maïto
parent
347ca5f859
commit
cb6fc76b8b
@@ -146,7 +146,7 @@ IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||
|
||||
PAGED_CODE();
|
||||
|
||||
/* Get the I/O Interrupt */
|
||||
/* Get the I/O interrupt */
|
||||
IoInterrupt = CONTAINING_RECORD(InterruptObject,
|
||||
IO_INTERRUPT,
|
||||
FirstInterrupt);
|
||||
@@ -165,8 +165,8 @@ IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||
KeDisconnectInterrupt(IoInterrupt->Interrupt[i]);
|
||||
}
|
||||
|
||||
/* Free the I/O Interrupt */
|
||||
ExFreePool(IoInterrupt); // ExFreePoolWithTag(IoInterrupt, TAG_KINTERRUPT);
|
||||
/* Free the I/O interrupt */
|
||||
ExFreePoolWithTag(IoInterrupt, TAG_KINTERRUPT);
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
||||
Reference in New Issue
Block a user