aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2001-05-06 19:20:45 +0000
committerH. Peter Anvin <hpa@zytor.com>2001-05-06 19:20:45 +0000
commit927522f18d813f5956dff812bf54cdfacee6be29 (patch)
tree540618852971e738c047f81c27f9d08ae24cefe5
parentd3de5f201274015698fc89024183055ebdc74fb1 (diff)
downloadzisofs-tools-927522f18d813f5956dff812bf54cdfacee6be29.tar.gz
Add missing fclose()'s to the non-parallelism path.zisofs-tools-0.07
-rw-r--r--mkzftree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkzftree.c b/mkzftree.c
index 5266091..be7a3bf 100644
--- a/mkzftree.c
+++ b/mkzftree.c
@@ -542,6 +542,8 @@ int munge_path(const char *inpath, const char *outpath, struct stat *st, munger_
rv = munger(in, out, st->st_size);
err = rv ? errno : 0;
+ fclose(in);
+ fclose(out);
#ifdef HAVE_LCHOWN
lchown(outpath, st->st_uid, st->st_gid);