Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2015-11-24 16:29:32 +0300
committerPatrick Steinhardt <ps@pks.im>2015-11-24 16:47:50 +0300
commitc8fab201ebbb9d3c871a7ca426e780b90271a8e0 (patch)
tree253aeb8031eefdfc78b6a72dda8a8c25e5eaf0a4 /tests/config
parent66e4e6da594653c461c4344e23738bad153320a1 (diff)
tests: config::global: fix memleak in open_programdata
Diffstat (limited to 'tests/config')
-rw-r--r--tests/config/global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/global.c b/tests/config/global.c
index 0ddd204ad..a149dc0be 100644
--- a/tests/config/global.c
+++ b/tests/config/global.c
@@ -73,7 +73,7 @@ void test_config_global__open_programdata(void)
git_buf config_path = 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_git_pass(git_libgit2_opts(GIT_OPT_GET_SEARCH_PATH,