Merge branch 'mh/credential-leakfix' into maint
Leak fix. * mh/credential-leakfix: credential: fix leak in credential_apply_config()
This commit is contained in:
commit
d4d96982ec
@ -128,6 +128,7 @@ static void credential_apply_config(struct credential *c)
|
||||
normalized_url = url_normalize(url.buf, &config.url);
|
||||
|
||||
git_config(urlmatch_config_entry, &config);
|
||||
string_list_clear(&config.vars, 1);
|
||||
free(normalized_url);
|
||||
strbuf_release(&url);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user