Commit 9ec6839a by Vicent Marti

Merge pull request #3551 from libgit2/vmg/commit-leak

commit: Fix memory leak in test suite
parents 1850c99c 5951445f
......@@ -72,7 +72,7 @@ void assert_commit_body(const char *expected, const char *given)
dummy->raw_message = git__strdup(given);
cl_assert_equal_s(expected, git_commit_body(dummy));
git_commit_free(dummy);
git_commit__free(dummy);
}
void test_commit_commit__summary(void)
......
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