summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-07-20 21:52:24 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2018-07-20 13:57:25 -0700
commitd285de73f9a09bc841b329267d1f61b9c03a7b68 (patch)
treea08dbb97b0cd9c242df1b46b819fc69d1800e024
parentdad9988121521ccc2ffff39299ca98dba160b857 (diff)
downloadlibgit2-d285de73f9a09bc841b329267d1f61b9c03a7b68.tar.gz
push tests: deeply free the specs
Don't just free the spec vector, also free the specs themselves.
-rw-r--r--tests/online/push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/online/push.c b/tests/online/push.c
index 257da27ad..592372ba7 100644
--- a/tests/online/push.c
+++ b/tests/online/push.c
@@ -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));