summaryrefslogtreecommitdiff
path: root/tests/network/remote/delete.c
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-06-08 16:44:32 +0200
committerVicent Marti <vicent@github.com>2014-06-08 16:44:32 +0200
commitce5e6617b08829d3a473595322a0e67bef9ea645 (patch)
tree321bff4111d5208f10a15f0658270ee14077b159 /tests/network/remote/delete.c
parent9560203d36647e6d3c0e089939ffe285cf21bf32 (diff)
parent231f350d91e71e3c171041a64f0d238888fad002 (diff)
downloadlibgit2-ce5e6617b08829d3a473595322a0e67bef9ea645.tar.gz
Merge pull request #2407 from libgit2/cmn/remote-rename-morev0.21.0-rc1
More remote rename fixes
Diffstat (limited to 'tests/network/remote/delete.c')
-rw-r--r--tests/network/remote/delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/network/remote/delete.c b/tests/network/remote/delete.c
index db55b0768..664f47a43 100644
--- a/tests/network/remote/delete.c
+++ b/tests/network/remote/delete.c
@@ -15,6 +15,7 @@ void test_network_remote_delete__initialize(void)
void test_network_remote_delete__cleanup(void)
{
+ git_remote_free(_remote);
cl_git_sandbox_cleanup();
}
@@ -27,7 +28,6 @@ void test_network_remote_delete__cannot_delete_an_anonymous_remote(void)
cl_git_fail(git_remote_delete(remote));
git_remote_free(remote);
- git_remote_free(_remote);
}
void test_network_remote_delete__remove_remote_tracking_branches(void)