summaryrefslogtreecommitdiff
path: root/src/indexer.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-12-08 16:05:47 -0500
committerEdward Thomson <ethomson@microsoft.com>2014-12-09 12:04:47 -0500
commitc251f3bbe775374a65ed6b6d843e26a7de90ad8b (patch)
treee66f60fa0659612b37ee4dfaf1ca2c83743fa286 /src/indexer.c
parentd5087689b506cd1c85e69b6b067e1dd05ec050ed (diff)
downloadlibgit2-c251f3bbe775374a65ed6b6d843e26a7de90ad8b.tar.gz
win32: remember to cleanup our hash_ctx
Diffstat (limited to 'src/indexer.c')
-rw-r--r--src/indexer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indexer.c b/src/indexer.c
index 8127ff8b0..92f85c167 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -1028,6 +1028,7 @@ int git_indexer_commit(git_indexer *idx, git_transfer_progress *stats)
p_rename(idx->pack->pack_name, git_buf_cstr(&filename));
git_buf_free(&filename);
+ git_hash_ctx_cleanup(&ctx);
return 0;
on_error: