diff options
Diffstat (limited to 'src/proxy.c')
-rw-r--r-- | src/proxy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/proxy.c b/src/proxy.c index 78a4c5535..ef91ad6ea 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -39,8 +39,11 @@ int git_proxy_options_dup(git_proxy_options *tgt, const git_proxy_options *src) return 0; } -void git_proxy_options_clear(git_proxy_options *opts) +void git_proxy_options_dispose(git_proxy_options *opts) { + if (!opts) + return; + git__free((char *) opts->url); opts->url = NULL; } |