summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/online/push.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/online/push.c b/tests/online/push.c
index 038cab12e..c351827d9 100644
--- a/tests/online/push.c
+++ b/tests/online/push.c
@@ -204,6 +204,8 @@ static void verify_tracking_branches(git_remote *remote, expected_ref expected_r
cl_assert_equal_i(branch_type, GIT_BRANCH_REMOTE);
cl_git_pass(git_vector_insert(&actual_refs, git__strdup(git_reference_name(ref))));
+
+ git_reference_free(ref);
}
cl_assert_equal_i(error, GIT_ITEROVER);