Commit 2ff4469a by Philip Kelley

Leak cleanup in push tests

parent 3fbd7485
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment