diff options
author | Elliott Hughes <enh@google.com> | 2013-10-29 21:26:55 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-10-29 21:26:55 +0000 |
commit | 36d44740dd045403ae615b8dd6dac8b9a4e9f5bf (patch) | |
tree | f4d986698864a59ea87af253247753768916be37 /cpio/mkbootfs.c | |
parent | 98f87d92d89079f274374409efcf57ca52b13c1f (diff) | |
parent | 14e28d39f7f094225c1ddae8fa43bd792c621a8f (diff) | |
download | system_core-36d44740dd045403ae615b8dd6dac8b9a4e9f5bf.zip system_core-36d44740dd045403ae615b8dd6dac8b9a4e9f5bf.tar.gz system_core-36d44740dd045403ae615b8dd6dac8b9a4e9f5bf.tar.bz2 |
Merge "Fix a bunch of small system/core bugs."
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) |