diff options
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/dir_hash.c | 1 |
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; } |