Commit c8fab201 by Patrick Steinhardt

tests: config::global: fix memleak in open_programdata

parent 66e4e6da
...@@ -73,7 +73,7 @@ void test_config_global__open_programdata(void) ...@@ -73,7 +73,7 @@ void test_config_global__open_programdata(void)
git_buf config_path = GIT_BUF_INIT; git_buf config_path = GIT_BUF_INIT;
git_buf var_contents = GIT_BUF_INIT; git_buf var_contents = GIT_BUF_INIT;
if (!cl_getenv("GITTEST_INVASIVE_FS_STRUCTURE")) if (cl_is_env_set("GITTEST_INVASIVE_FS_STRUCTURE"))
cl_skip(); cl_skip();
cl_git_pass(git_libgit2_opts(GIT_OPT_GET_SEARCH_PATH, cl_git_pass(git_libgit2_opts(GIT_OPT_GET_SEARCH_PATH,
......
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