Commit 27a8092bb8c5d31f4f46cb57a24f2ef9a189602b

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 33f5c88..ba09074 100644
--- a/src/curl_stream.c
+++ b/src/curl_stream.c
@@ -295,6 +295,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);
 }