| commit | 5951445fb3d85bfbe4ccc16ca01210081676e7c5 | [log] [tgz] |
|---|---|---|
| author | Vicent Marti <tanoku@gmail.com> | Thu Dec 17 10:13:04 2015 +0100 |
| committer | Vicent Marti <tanoku@gmail.com> | Thu Dec 17 10:13:04 2015 +0100 |
| tree | 4b9f0b54330ad2f95e21c9269ea6aaeb8032b2f0 | |
| parent | 1850c99ce22f8a372f3adc880e166c4df2faffc3 [diff] |
commit: Fix memory leak in test suite
diff --git a/tests/commit/commit.c b/tests/commit/commit.c index c82971f..c052cd5 100644 --- a/tests/commit/commit.c +++ b/tests/commit/commit.c
@@ -72,7 +72,7 @@ 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)