summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 4086b2ff5..2823d6dfa 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -502,7 +502,7 @@ bool fetch_process_headers(struct fetch *f)
char *url_path;
url_path = curl_unescape(f->url + 8, (int) strlen(f->url) - 8);
type = fetch_filetype(url_path);
- free(url_path);
+ curl_free(url_path);
}
}