diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-10-26 22:09:28 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-10-27 11:43:48 +0200 |
| commit | 00e161b977e9ca8529736e8222dff50111b6f898 (patch) | |
| tree | 612150ce3896f2f448dae3bc323503c0bd46ee79 /tests-clar | |
| parent | 8bba3c95b8a7eb01d9ee9d68cd3bf0cc38fbd867 (diff) | |
| download | libgit2-00e161b977e9ca8529736e8222dff50111b6f898.tar.gz | |
tests: fix a memory leak
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/reset/soft.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/reset/soft.c b/tests-clar/reset/soft.c index fa206455d..194137217 100644 --- a/tests-clar/reset/soft.c +++ b/tests-clar/reset/soft.c @@ -124,4 +124,6 @@ void test_reset_soft__fails_when_merging(void) cl_assert_equal_i(GIT_EUNMERGED, git_reset(repo, target, GIT_RESET_SOFT)); cl_git_pass(p_unlink(git_buf_cstr(&merge_head_path))); + + git_buf_free(&merge_head_path); } |
