From 61fae0841da73a9e3d1786cea5e332d8dc78aff8 Mon Sep 17 00:00:00 2001 From: wpaul Date: Wed, 16 Feb 2005 19:21:07 +0000 Subject: Fix freeing of custom driver extensions. (ExFreePool() was being called with the wrong pointer.) --- sys/compat/ndis/kern_windrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/ndis/kern_windrv.c b/sys/compat/ndis/kern_windrv.c index a2279ca..6fa3575 100644 --- a/sys/compat/ndis/kern_windrv.c +++ b/sys/compat/ndis/kern_windrv.c @@ -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; } -- cgit v1.1