aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index c743ed818..de5217d53 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -190,6 +190,9 @@ CURLcode Curl_close(struct SessionHandle *data)
if(data->state.auth_host)
free(data->state.auth_host);
+ if(data->state.scratch)
+ free(data->state.scratch);
+
if(data->change.proxy_alloc)
free(data->change.proxy);