Fix typo _delete -> _free
diff --git a/tests-clar/threads/refdb.c b/tests-clar/threads/refdb.c
index ffe4375..f8d76cb 100644
--- a/tests-clar/threads/refdb.c
+++ b/tests-clar/threads/refdb.c
@@ -130,7 +130,7 @@ static void *delete_refs(void *arg)
if (!git_reference_lookup(&ref, g_repo, name)) {
cl_git_pass(git_reference_delete(ref));
- git_reference_delete(ref);
+ git_reference_free(ref);
}
if (i == 5) {