mirror of
https://github.com/reactos/reactos.git
synced 2025-04-29 18:48:53 +00: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:
parent
347ca5f859
commit
cb6fc76b8b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue