diff options
author | David Hill <dhill@cvs.openbsd.org> | 2006-03-20 21:35:38 +0000 |
---|---|---|
committer | David Hill <dhill@cvs.openbsd.org> | 2006-03-20 21:35:38 +0000 |
commit | e90c15add55da0960507e2dc56f61b16e6875992 (patch) | |
tree | 07f0ca64cc9d2a1f2247c4c749e2e54e154b70e1 /sbin/fsck_ext2fs/pass5.c | |
parent | 00a4bc74a026e5f7ccb2d2ea5e371da484aa4a06 (diff) |
NetBSD Coverity CID 2298: Fix memory leak.
NetBSD Coverity CID 2299: Fix memory leak.
NetBSD Coverity CID 2301: Fix memory leak.
ok ray@
Diffstat (limited to 'sbin/fsck_ext2fs/pass5.c')
-rw-r--r-- | sbin/fsck_ext2fs/pass5.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/fsck_ext2fs/pass5.c b/sbin/fsck_ext2fs/pass5.c index 3ae4e2ae552..a08e408ba6f 100644 --- a/sbin/fsck_ext2fs/pass5.c +++ b/sbin/fsck_ext2fs/pass5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass5.c,v 1.12 2003/06/11 06:22:13 deraadt Exp $ */ +/* $OpenBSD: pass5.c,v 1.13 2006/03/20 21:35:37 dhill Exp $ */ /* $NetBSD: pass5.c,v 1.7 2000/01/28 16:01:46 bouyer Exp $ */ /* @@ -227,6 +227,8 @@ pass5(void) fs->e2fs.e2fs_ficount = cs_nifree; sbdirty(); } + free(ibmap); + free(bbmap); } void |