mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 18:22:16 +00:00
tests: plug a leak in the config stress
This commit is contained in:
parent
5b78696334
commit
14e1bc157a
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user