summaryrefslogtreecommitdiffstats
path: root/cpio/mkbootfs.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-29 21:26:55 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-10-29 21:26:55 +0000
commit36d44740dd045403ae615b8dd6dac8b9a4e9f5bf (patch)
treef4d986698864a59ea87af253247753768916be37 /cpio/mkbootfs.c
parent98f87d92d89079f274374409efcf57ca52b13c1f (diff)
parent14e28d39f7f094225c1ddae8fa43bd792c621a8f (diff)
downloadsystem_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.c2
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)