summaryrefslogtreecommitdiff
path: root/tests/t01-rawobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t01-rawobj.c')
-rw-r--r--tests/t01-rawobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t01-rawobj.c b/tests/t01-rawobj.c
index 255208532..8b05f3394 100644
--- a/tests/t01-rawobj.c
+++ b/tests/t01-rawobj.c
@@ -217,7 +217,7 @@ BEGIN_TEST(oid12, "compare oids (allocate + format)")
out = git_oid_allocfmt(&in);
must_be_true(out);
must_be_true(strcmp(exp, out) == 0);
- free(out);
+ git__free(out);
END_TEST
BEGIN_TEST(oid13, "compare oids (path format)")
@@ -390,7 +390,7 @@ BEGIN_TEST(oid17, "stress test for the git_oid_shorten object")
/* cleanup */
for (i = 0; i < MAX_OIDS; ++i)
- free(oids[i]);
+ git__free(oids[i]);
git_oid_shorten_free(os);