summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-10-08 20:49:26 +0000
committerJames Bursa <james@netsurf-browser.org>2003-10-08 20:49:26 +0000
commit43736de9961a500f803c947c4ca1c23c5f3d0455 (patch)
tree6f3e33e6001e90160075d21c0cc1c87493a2e4ed /content/fetch.c
parent16746b0151b6623c8d1403acc1f84036758ac2ae (diff)
downloadnetsurf-43736de9961a500f803c947c4ca1c23c5f3d0455.tar.gz
netsurf-43736de9961a500f803c947c4ca1c23c5f3d0455.tar.bz2
[project @ 2003-10-08 20:49:26 by bursa]
Plug memory leaks. svn path=/import/netsurf/; revision=353
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);
}
}