diff options
Diffstat (limited to 'tests/object/lookup.c')
-rw-r--r-- | tests/object/lookup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/object/lookup.c b/tests/object/lookup.c index 277e2e0c0..544f32bc4 100644 --- a/tests/object/lookup.c +++ b/tests/object/lookup.c @@ -116,6 +116,7 @@ void test_object_lookup__lookup_object_with_wrong_hash_returns_error(void) cl_git_pass(git_object_lookup(&object, g_repo, &oid, GIT_OBJ_COMMIT)); cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_STRICT_HASH_VERIFICATION, 1)); + git_object_free(object); git_buf_free(&oldpath); git_buf_free(&newpath); } |