diff options
author | 2021-09-08 13:30:30 -0700 | |
---|---|---|
committer | 2021-09-08 13:30:30 -0700 | |
commit | efae5c2e22d55b2ff9e8edb2b720c2731cebdac1 (patch) | |
tree | 15860867209ff11aa70b5c403849325e2643b9a8 | |
parent | Merge branch 'jk/t5323-no-pack-test-fix' (diff) | |
parent | credential: fix leak in credential_apply_config() (diff) | |
download | tgif-efae5c2e22d55b2ff9e8edb2b720c2731cebdac1.tar.xz |
Merge branch 'mh/credential-leakfix'
Leak fix.
* mh/credential-leakfix:
credential: fix leak in credential_apply_config()
-rw-r--r-- | credential.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/credential.c b/credential.c index 3c05c7c669..000ac7a8d4 100644 --- a/credential.c +++ b/credential.c @@ -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); |