Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mh/http-urlmatch-cleanup'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Sep 2019 04:19:24 +0000
(13:19 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Sep 2019 04:19:24 +0000
(13:19 +0900)
Leakfix.
* mh/http-urlmatch-cleanup:
http: don't leak urlmatch_config.vars
http.c
patch
|
blob
|
history
raw
(from parent 1:
bf6136c
)
diff --git
a/http.c
b/http.c
index 938b9e55af435c46484a4fd54747a9c0bc2db0fe..027a86d75dc4d19e1e7b2361c84fd505c575a0e4 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-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) {