Commit e4985fe3 by Edward Thomson Committed by Edward Thomson

submodule test: free submodule

parent 50aae000
...@@ -35,6 +35,7 @@ void test_submodule_repository_init__basic(void) ...@@ -35,6 +35,7 @@ void test_submodule_repository_init__basic(void)
cl_assert(git_path_isfile("submod2/.git/modules/" "sm_gitmodules_only" "/HEAD")); cl_assert(git_path_isfile("submod2/.git/modules/" "sm_gitmodules_only" "/HEAD"));
git_config_free(cfg); git_config_free(cfg);
git_submodule_free(sm);
git_repository_free(repo); git_repository_free(repo);
git_buf_free(&dot_git_content); git_buf_free(&dot_git_content);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment