summaryrefslogtreecommitdiff
path: root/src/odb.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/odb.c
parentd5087689b506cd1c85e69b6b067e1dd05ec050ed (diff)
downloadlibgit2-c251f3bbe775374a65ed6b6d843e26a7de90ad8b.tar.gz
win32: remember to cleanup our hash_ctx
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odb.c b/src/odb.c
index 5961b35a7..d2dff7178 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -1045,6 +1045,7 @@ void git_odb_stream_free(git_odb_stream *stream)
if (stream == NULL)
return;
+ git_hash_ctx_cleanup(stream->hash_ctx);
git__free(stream->hash_ctx);
stream->free(stream);
}