mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 16:34:33 +00:00
Ensure static variables are nulled after every test
This commit is contained in:
parent
cc3e9b5af4
commit
c4e3e797d1
@ -211,6 +211,10 @@ void test_network_push__cleanup(void)
|
|||||||
{
|
{
|
||||||
if (_remote)
|
if (_remote)
|
||||||
git_remote_free(_remote);
|
git_remote_free(_remote);
|
||||||
|
_remote = NULL;
|
||||||
|
|
||||||
|
/* Freed by cl_git_sandbox_cleanup */
|
||||||
|
_repo = NULL;
|
||||||
|
|
||||||
record_callbacks_data_clear(&_record_cbs_data);
|
record_callbacks_data_clear(&_record_cbs_data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user