summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2005-02-16 19:21:07 +0000
committerwpaul <wpaul@FreeBSD.org>2005-02-16 19:21:07 +0000
commit61fae0841da73a9e3d1786cea5e332d8dc78aff8 (patch)
treed312f9b698e7ac6dafdbf7eb3ff0d115eb4b5b58
parente61691a1db78901af5fb359809ac21ea0297132e (diff)
downloadFreeBSD-src-61fae0841da73a9e3d1786cea5e332d8dc78aff8.zip
FreeBSD-src-61fae0841da73a9e3d1786cea5e332d8dc78aff8.tar.gz
Fix freeing of custom driver extensions. (ExFreePool() was being
called with the wrong pointer.)
-rw-r--r--sys/compat/ndis/kern_windrv.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud