free!
diff --git a/tests-clar/status/submodules.c b/tests-clar/status/submodules.c
index 6a9bf75..4656a87 100644
--- a/tests-clar/status/submodules.c
+++ b/tests-clar/status/submodules.c
@@ -165,6 +165,8 @@ void test_status_submodules__moved_head(void)
cl_git_pass(
git_status_foreach_ext(g_repo, &opts, cb_status__match, &counts));
cl_assert_equal_i(6, counts.entry_count);
+
+ git_repository_free(smrepo);
}
void test_status_submodules__dirty_workdir_only(void)