mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 18:22:16 +00:00
Merge pull request #3551 from libgit2/vmg/commit-leak
commit: Fix memory leak in test suite
This commit is contained in:
commit
9ec6839a72
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user