summaryrefslogtreecommitdiffstats
path: root/libcutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-29 18:31:01 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-29 18:31:01 -0700
commit9259663cdb8f15226844e3ecfc6e3aa53614ad03 (patch)
treee8c859373e4a64fde3f073bc4601947bae5763f4 /libcutils
parent0433d62291c4e847ae90a6f0a8f264329e1e5617 (diff)
parentf17f55914e18eb176ccc5bb8266b248ece8cb56b (diff)
downloadsystem_core-9259663cdb8f15226844e3ecfc6e3aa53614ad03.zip
system_core-9259663cdb8f15226844e3ecfc6e3aa53614ad03.tar.gz
system_core-9259663cdb8f15226844e3ecfc6e3aa53614ad03.tar.bz2
am f17f5591: am 36d44740: Merge "Fix a bunch of small system/core bugs."
* commit 'f17f55914e18eb176ccc5bb8266b248ece8cb56b': Fix a bunch of small system/core bugs.
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/dir_hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/dir_hash.c b/libcutils/dir_hash.c
index be14af6..098b5db 100644
--- a/libcutils/dir_hash.c
+++ b/libcutils/dir_hash.c
@@ -159,6 +159,7 @@ static int recurse(HashAlgorithm algorithm, const char *directory_path,
free(name);
free(node);
+ closedir(d);
return -1;
}