Commit c4e3e797 by Ben Straub

Ensure static variables are nulled after every test

parent cc3e9b5a
......@@ -211,6 +211,10 @@ void test_network_push__cleanup(void)
{
if (_remote)
git_remote_free(_remote);
_remote = NULL;
/* Freed by cl_git_sandbox_cleanup */
_repo = NULL;
record_callbacks_data_clear(&_record_cbs_data);
......
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