Commit 0001c0231607bd8bc9b09bde6c1d7d0fb396565f

Carlos Martín Nieto 2013-08-29T13:22:44

Fix typo _delete -> _free

1
2
3
4
5
6
7
8
9
10
11
12
13
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) {