diff options
| author | Philip Kelley <phkelley@hotmail.com> | 2013-01-24 14:04:35 -0500 |
|---|---|---|
| committer | Philip Kelley <phkelley@hotmail.com> | 2013-01-24 14:04:35 -0500 |
| commit | 2ff4469afc1e3e142d68c46e3c15e889fe32582a (patch) | |
| tree | 442451e1a6d78725d22806456f17c5628e66edd5 | |
| parent | 3fbd7485d8a100f55b02132096d3ff66d390999a (diff) | |
| download | libgit2-2ff4469afc1e3e142d68c46e3c15e889fe32582a.tar.gz | |
Leak cleanup in push tests
| -rw-r--r-- | tests-clar/online/push.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests-clar/online/push.c b/tests-clar/online/push.c index a065e4b78..3e2e33462 100644 --- a/tests-clar/online/push.c +++ b/tests-clar/online/push.c @@ -200,6 +200,7 @@ static void verify_tracking_branches(git_remote *remote, expected_ref expected_r goto failed; } + git__free(actual_ref); cl_git_pass(git_vector_remove(&actual_refs, j)); } @@ -220,6 +221,8 @@ failed: git_vector_free(&actual_refs); git_buf_free(&msg); + git_buf_free(&canonical_ref_name); + git_buf_free(&ref_name); return; } |
