Commit 6f8d1eb946c8558085b6d09f4601af2bd1bf24b3

Carlos Martín Nieto 2017-09-27T15:30:19

curl: free the user-provided proxy credentials

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/curl_stream.c b/src/curl_stream.c
index 0eee187..4f59eda 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);
 }