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 52b70f638..6092c281c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -191,6 +191,9 @@ CURLcode Curl_close(struct SessionHandle *data)
/* free the connection cache */
free(data->state.connects);
+ if(data->info.contenttype)
+ free(data->info.contenttype);
+
free(data);
return CURLE_OK;
}