mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 14:37:30 +00:00
Leak cleanup in push tests
This commit is contained in:
parent
3fbd7485d8
commit
2ff4469afc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user