Fix freeing of custom driver extensions. (ExFreePool() was being

called with the wrong pointer.)
This commit is contained in:
Bill Paul 2005-02-16 19:21:07 +00:00
parent ef7012e1fc
commit 513c5292f8

View File

@ -183,7 +183,7 @@ windrv_unload(mod, img, len)
while (e != &drv->dro_driverext->dre_usrext) {
c = e->nle_flink;
REMOVE_LIST_ENTRY(e);
ExFreePool(c);
ExFreePool(e);
e = c;
}