summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcsapuntz <csapuntz@openbsd.org>2001-03-25 03:53:35 +0000
committercsapuntz <csapuntz@openbsd.org>2001-03-25 03:53:35 +0000
commitc599ae32204fad11d9c46fe69558ad2c78d9a107 (patch)
tree5738bf4b3d2b4994ad4b6b865afeba91e877104f
parentNortel Baystack 21 support. (diff)
downloadwireguard-openbsd-c599ae32204fad11d9c46fe69558ad2c78d9a107.tar.xz
wireguard-openbsd-c599ae32204fad11d9c46fe69558ad2c78d9a107.zip
Free the right variable. Thanks to Dawson and team.
-rw-r--r--sys/ufs/ext2fs/ext2fs_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_lookup.c b/sys/ufs/ext2fs/ext2fs_lookup.c
index 11bc88989f9..7c892ff62bf 100644
--- a/sys/ufs/ext2fs/ext2fs_lookup.c
+++ b/sys/ufs/ext2fs/ext2fs_lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_lookup.c,v 1.7 2000/04/26 23:24:41 jasoni Exp $ */
+/* $OpenBSD: ext2fs_lookup.c,v 1.8 2001/03/25 03:53:35 csapuntz Exp $ */
/* $NetBSD: ext2fs_lookup.c,v 1.1 1997/06/11 09:33:59 bouyer Exp $ */
/*
@@ -219,7 +219,7 @@ err_exit:
FREE(dirbuf, M_TEMP);
if (error && cookies) {
- FREE(ap->a_cookies, M_TEMP);
+ FREE(cookies, M_TEMP);
*ap->a_cookies = 0;
*ap->a_ncookies = 0;
}