diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-12-08 15:16:00 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-12-08 15:16:00 +0000 |
commit | 92f9d347b16f71e6f70d404ed02486584fa35d37 (patch) | |
tree | fc714075a9c2983138b748a37606718605bb2c85 /sys/lib/libsa/ufs.c | |
parent | 7b12c8734d7e8c4ce180c40d12c579291d401a9e (diff) |
Merge to NetBSD 961207
Diffstat (limited to 'sys/lib/libsa/ufs.c')
-rw-r--r-- | sys/lib/libsa/ufs.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/lib/libsa/ufs.c b/sys/lib/libsa/ufs.c index 86082cf053d..8adb7048477 100644 --- a/sys/lib/libsa/ufs.c +++ b/sys/lib/libsa/ufs.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ufs.c,v 1.7 1996/10/16 14:02:55 mickey Exp $ */ -/* $NetBSD: ufs.c,v 1.14.4.1 1996/06/02 12:08:45 ragge Exp $ */ +/* $OpenBSD: ufs.c,v 1.8 1996/12/08 15:15:58 niklas Exp $ */ +/* $NetBSD: ufs.c,v 1.16 1996/09/30 16:01:22 ws Exp $ */ /*- * Copyright (c) 1993 @@ -556,8 +556,10 @@ ufs_open(path, f) out: if (buf) free(buf, fs->fs_bsize); - if (rc) + if (rc) { + free(fp->f_fs, SBSIZE); free(fp, sizeof(struct file)); + } return (rc); } |