summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 03:53:36 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 03:53:36 +0000
commit9e2a803732f63d90c59fb3b8df45ac954da83547 (patch)
tree1832f6f65ba41c721fc84f22e23a6ecee78dd0b8 /sys/ufs
parent6c392b7bcd79d439d48f630f0462ccb68c933d12 (diff)
Free the right variable. Thanks to Dawson and team.
Diffstat (limited to 'sys/ufs')
-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;
}