diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-08 19:02:24 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-08 19:02:24 +0000 |
commit | aec6820f764bce0a08e7fbaae18c355397be975d (patch) | |
tree | 169b7f83e88f841300ec9d96a84a148c3b622cef /sbin/fsck_ffs/setup.c | |
parent | 80ab6fb5c69fe4980292f75b60af96901b22d6f8 (diff) |
Plug some mem leaks that occur when checking multiple file systems in a
row. ok beck@ pedro@ millert@
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
-rw-r--r-- | sbin/fsck_ffs/setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c index 0689fdd02ae..cfedf438988 100644 --- a/sbin/fsck_ffs/setup.c +++ b/sbin/fsck_ffs/setup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: setup.c,v 1.24 2006/04/17 19:18:08 deraadt Exp $ */ +/* $OpenBSD: setup.c,v 1.25 2007/02/08 19:02:23 otto Exp $ */ /* $NetBSD: setup.c,v 1.27 1996/09/27 22:45:19 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)setup.c 8.5 (Berkeley) 11/23/94"; #else -static const char rcsid[] = "$OpenBSD: setup.c,v 1.24 2006/04/17 19:18:08 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: setup.c,v 1.25 2007/02/08 19:02:23 otto Exp $"; #endif #endif /* not lint */ @@ -58,7 +58,6 @@ static const char rcsid[] = "$OpenBSD: setup.c,v 1.24 2006/04/17 19:18:08 deraad #include "extern.h" #include "fsutil.h" -struct bufarea asblk; #define altsblock (*asblk.b_un.b_fs) #define POWEROF2(num) (((num) & ((num) - 1)) == 0) |