Merge branch 'jk/leakfix'
Code clean-up. * jk/leakfix: submodule--helper: fix leak of core.worktree value config: fix leak in git_config_get_expiry_in_days() config: drop git_config_get_string_const() config: fix leaks from git_config_get_string_const() checkout: fix leak of non-existent branch names submodule--helper: use strbuf_release() to free strbufs clear_pattern_list(): clear embedded hashmaps
This commit is contained in:
4
apply.c
4
apply.c
@ -30,8 +30,8 @@ struct gitdiff_data {
|
||||
|
||||
static void git_apply_config(void)
|
||||
{
|
||||
git_config_get_string_const("apply.whitespace", &apply_default_whitespace);
|
||||
git_config_get_string_const("apply.ignorewhitespace", &apply_default_ignorewhitespace);
|
||||
git_config_get_string("apply.whitespace", &apply_default_whitespace);
|
||||
git_config_get_string("apply.ignorewhitespace", &apply_default_ignorewhitespace);
|
||||
git_config(git_xmerge_config, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user