summaryrefslogtreecommitdiff
path: root/src/proxy.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2017-10-07 11:25:12 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2017-10-07 11:25:12 +0200
commit25fdb3f0c431b87a286537f193c64b1cdae107bc (patch)
tree7c0c3c0e1924ec453af098d14446a8acaed9fff5 /src/proxy.c
parent6f8d1eb946c8558085b6d09f4601af2bd1bf24b3 (diff)
downloadlibgit2-cmn/proxy-options-free.tar.gz
proxy: rename the options freeing functioncmn/proxy-options-free
Diffstat (limited to 'src/proxy.c')
-rw-r--r--src/proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxy.c b/src/proxy.c
index 524147c3c..9bc2c7fb1 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -32,7 +32,7 @@ int git_proxy_options_dup(git_proxy_options *tgt, const git_proxy_options *src)
return 0;
}
-void git_proxy_options_free(git_proxy_options *opts)
+void git_proxy_options_clear(git_proxy_options *opts)
{
git__free((char *) opts->url);
opts->url = NULL;