diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-09-30 13:19:24 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-09-30 13:19:24 +0900 |
| commit | f0fcab6deb0bdd005d4725b4377ea1471e2f07a0 (patch) | |
| tree | 042c471c8604036e1b692c5925bcb6dab7da570b | |
| parent | Merge branch 'rs/strbuf-detach' (diff) | |
| parent | http: don't leak urlmatch_config.vars (diff) | |
| download | git-f0fcab6deb0bdd005d4725b4377ea1471e2f07a0.tar.gz git-f0fcab6deb0bdd005d4725b4377ea1471e2f07a0.zip | |
Merge branch 'mh/http-urlmatch-cleanup'
Leakfix.
* mh/http-urlmatch-cleanup:
http: don't leak urlmatch_config.vars
| -rw-r--r-- | http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1075,6 +1075,7 @@ void http_init(struct remote *remote, const char *url, int proactive_auth) git_config(urlmatch_config_entry, &config); free(normalized_url); + string_list_clear(&config.vars, 1); #if LIBCURL_VERSION_NUM >= 0x073800 if (http_ssl_backend) { |
