diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-20 21:52:24 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-20 13:57:25 -0700 |
commit | d285de73f9a09bc841b329267d1f61b9c03a7b68 (patch) | |
tree | a08dbb97b0cd9c242df1b46b819fc69d1800e024 /tests/online | |
parent | dad9988121521ccc2ffff39299ca98dba160b857 (diff) | |
download | libgit2-d285de73f9a09bc841b329267d1f61b9c03a7b68.tar.gz |
push tests: deeply free the specs
Don't just free the spec vector, also free the specs themselves.
Diffstat (limited to 'tests/online')
-rw-r--r-- | tests/online/push.c | 2 |
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)); |