Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2015-12-17 12:29:58 +0300
committerVicent Marti <vicent@github.com>2015-12-17 12:29:58 +0300
commit9ec6839a72db4c013c9bb9da07d37a782bccc7d0 (patch)
tree4b9f0b54330ad2f95e21c9269ea6aaeb8032b2f0
parent1850c99ce22f8a372f3adc880e166c4df2faffc3 (diff)
parent5951445fb3d85bfbe4ccc16ca01210081676e7c5 (diff)
Merge pull request #3551 from libgit2/vmg/commit-leak
commit: Fix memory leak in test suite
-rw-r--r--tests/commit/commit.c2
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)