summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2017-09-27 15:30:19 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2017-09-27 15:30:19 +0200
commit6f8d1eb946c8558085b6d09f4601af2bd1bf24b3 (patch)
treed057a1fa08d25fcb8161374783b7ed61593300cd
parent406b47bf4086f09a6686db97099347f52291a4a7 (diff)
downloadlibgit2-6f8d1eb946c8558085b6d09f4601af2bd1bf24b3.tar.gz
curl: free the user-provided proxy credentials
-rw-r--r--src/curl_stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/curl_stream.c b/src/curl_stream.c
index 0eee18782..4f59eda47 100644
--- a/src/curl_stream.c
+++ b/src/curl_stream.c
@@ -297,6 +297,7 @@ static void curls_free(git_stream *stream)
curls_close(stream);
git_strarray_free(&s->cert_info_strings);
git_proxy_options_free(&s->proxy);
+ git_cred_free(s->proxy_cred);
git__free(s);
}