diff options
Diffstat (limited to 'src/curl_stream.c')
-rw-r--r-- | src/curl_stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/curl_stream.c b/src/curl_stream.c index 4f59eda47..a895cb8bd 100644 --- a/src/curl_stream.c +++ b/src/curl_stream.c @@ -195,7 +195,7 @@ static int curls_set_proxy(git_stream *stream, const git_proxy_options *proxy_op CURLcode res; curl_stream *s = (curl_stream *) stream; - git_proxy_options_free(&s->proxy); + git_proxy_options_clear(&s->proxy); if ((error = git_proxy_options_dup(&s->proxy, proxy_opts)) < 0) return error; @@ -296,7 +296,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_proxy_options_clear(&s->proxy); git_cred_free(s->proxy_cred); git__free(s); } |