diff options
author | 2001-04-06 02:26:12 +0000 | |
---|---|---|
committer | 2001-04-06 02:26:12 +0000 | |
commit | 297e215c2449a4fde1b974f19b19f2d4d4ee98d4 (patch) | |
tree | 7dd4ec9ad90c440ce36a6d52966e331e2efafef9 | |
parent | keep the ssh session even if there is no active channel. (diff) | |
download | wireguard-openbsd-297e215c2449a4fde1b974f19b19f2d4d4ee98d4.tar.xz wireguard-openbsd-297e215c2449a4fde1b974f19b19f2d4d4ee98d4.zip |
Free the right variable on error
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_lookup.c b/sys/ufs/ext2fs/ext2fs_lookup.c index 7c892ff62bf..19b216fe646 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.8 2001/03/25 03:53:35 csapuntz Exp $ */ +/* $OpenBSD: ext2fs_lookup.c,v 1.9 2001/04/06 02:26:12 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(cookies, M_TEMP); + FREE(*ap->a_cookies, M_TEMP); *ap->a_cookies = 0; *ap->a_ncookies = 0; } |