diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -235,6 +235,10 @@ void static urlfree(struct UrlData *data, bool totally) if(data->free_referer) free(data->referer); + if(data->bits.urlstringalloc) + /* the URL is allocated, free it! */ + free(data->url); + cookie_cleanup(data->cookies); free(data); |