mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 03:52:17 +00:00
Don't push an already freed irp to the list (in IoFreeIrp).
svn path=/trunk/; revision=15311
This commit is contained in:
parent
f6b3f734ac
commit
523c60c5d5
1 changed files with 5 additions and 1 deletions
|
@ -1282,12 +1282,16 @@ IoFreeIrp(PIRP Irp)
|
||||||
/* All lists failed, use the pool */
|
/* All lists failed, use the pool */
|
||||||
List->L.FreeMisses++;
|
List->L.FreeMisses++;
|
||||||
ExFreePool(Irp);
|
ExFreePool(Irp);
|
||||||
|
Irp = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The free was within dhe Depth */
|
/* The free was within dhe Depth */
|
||||||
|
if (Irp)
|
||||||
|
{
|
||||||
InterlockedPushEntrySList(&List->L.ListHead, (PSINGLE_LIST_ENTRY)Irp);
|
InterlockedPushEntrySList(&List->L.ListHead, (PSINGLE_LIST_ENTRY)Irp);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DPRINT("Free done\n");
|
DPRINT("Free done\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue