summaryrefslogtreecommitdiff
path: root/t/helper/test-hash.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-hash.c')
-rw-r--r--t/helper/test-hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-hash.c b/t/helper/test-hash.c
index 261c545..5860dab 100644
--- a/t/helper/test-hash.c
+++ b/t/helper/test-hash.c
@@ -54,5 +54,6 @@ int cmd_hash_impl(int ac, const char **av, int algo)
fwrite(hash, 1, algop->rawsz, stdout);
else
puts(hash_to_hex_algop(hash, algop));
+ free(buffer);
return 0;
}