From 513c5292f87854be1a1661eead29e377872a3fd3 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Wed, 16 Feb 2005 19:21:07 +0000 Subject: [PATCH] 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 a2279ca70284..6fa3575fea34 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; }