diff options
author | Vicent Marti <tanoku@gmail.com> | 2015-12-17 10:13:04 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2015-12-17 10:13:04 +0100 |
commit | 5951445fb3d85bfbe4ccc16ca01210081676e7c5 (patch) | |
tree | 4b9f0b54330ad2f95e21c9269ea6aaeb8032b2f0 | |
parent | 1850c99ce22f8a372f3adc880e166c4df2faffc3 (diff) | |
download | libgit2-5951445fb3d85bfbe4ccc16ca01210081676e7c5.tar.gz |
commit: Fix memory leak in test suitevmg/commit-leak
-rw-r--r-- | tests/commit/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commit/commit.c b/tests/commit/commit.c index c82971f4b..c052cd568 100644 --- a/tests/commit/commit.c +++ b/tests/commit/commit.c @@ -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) |