Fix a memory leak in git__joinpath() tests.
diff --git a/tests/t00-core.c b/tests/t00-core.c
index 4a5df38..f20aa9d 100644
--- a/tests/t00-core.c
+++ b/tests/t00-core.c
@@ -354,6 +354,8 @@ static int ensure_joinpath(const char *path_a, const char *path_b, const char *e
if (strcmp(joined_path, expected_path))
error = GIT_ERROR;
+ free(joined_path);
+
return error;
}