diff options
Diffstat (limited to 'cpio/mkbootfs.c')
-rw-r--r-- | cpio/mkbootfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpio/mkbootfs.c b/cpio/mkbootfs.c index 3569e27..7d3740c 100644 --- a/cpio/mkbootfs.c +++ b/cpio/mkbootfs.c @@ -220,6 +220,8 @@ static void _archive_dir(char *in, char *out, int ilen, int olen) free(names[i]); } free(names); + + closedir(d); } static void _archive(char *in, char *out, int ilen, int olen) |