tests: plug a leak in the config stress

This commit is contained in:
Carlos Martín Nieto 2012-07-21 17:54:56 +02:00
parent 5b78696334
commit 14e1bc157a

View File

@ -80,4 +80,5 @@ void test_config_stress__escape_subsection_names(void)
cl_git_pass(git_config_get_string(&str, config, "some.sec\\tion.other")); cl_git_pass(git_config_get_string(&str, config, "some.sec\\tion.other"));
cl_assert(!strcmp("foo", str)); cl_assert(!strcmp("foo", str));
git_config_free(config);
} }