Commit c655def1 by Carlos Martín Nieto Committed by GitHub

Merge pull request #4031 from libgit2/cmn/plug-test-leak

rebase: plug a leak in the tests
parents c5e6ba28 f7dcd58c
...@@ -523,6 +523,7 @@ void test_rebase_merge__detached_finish(void) ...@@ -523,6 +523,7 @@ void test_rebase_merge__detached_finish(void)
git_reflog_free(reflog); git_reflog_free(reflog);
git_annotated_commit_free(branch_head); git_annotated_commit_free(branch_head);
git_annotated_commit_free(upstream_head); git_annotated_commit_free(upstream_head);
git_reference_free(head_ref);
git_reference_free(branch_ref); git_reference_free(branch_ref);
git_reference_free(upstream_ref); git_reference_free(upstream_ref);
git_rebase_free(rebase); git_rebase_free(rebase);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment