Commit 27469ed3 by Edward Thomson Committed by Patrick Steinhardt

push tests: deeply free the specs

Don't just free the spec vector, also free the specs themselves.

(cherry picked from commit d285de73)
parent c8826499
......@@ -397,7 +397,7 @@ void test_online_push__initialize(void)
}
git_remote_disconnect(_remote);
git_vector_free(&delete_specs);
git_vector_free_deep(&delete_specs);
/* Now that we've deleted everything, fetch from the remote */
memcpy(&fetch_opts.callbacks, &_record_cbs, sizeof(git_remote_callbacks));
......
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