summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.c b/http.c
index 938b9e55af..027a86d75d 100644
--- 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) {