diff options
author | James Bursa <james@netsurf-browser.org> | 2008-05-31 15:52:22 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2008-05-31 15:52:22 +0000 |
commit | b9bce3fa310f77cde2765b6fc3296217bb7aadff (patch) | |
tree | f193db7aa0dc223f1dcf4cf6803ca34b0310006a /content | |
parent | b4621337e8e70ed7a55c2ed8f21623628b182bfc (diff) | |
download | netsurf-b9bce3fa310f77cde2765b6fc3296217bb7aadff.tar.gz netsurf-b9bce3fa310f77cde2765b6fc3296217bb7aadff.tar.bz2 |
Fix freeing of etag data.
svn path=/trunk/netsurf/; revision=4229
Diffstat (limited to 'content')
-rw-r--r-- | content/fetchcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c index 087354489..ca657cb8e 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -682,7 +682,7 @@ void fetchcache_parse_header(struct content *c, const char *data, } } else if (5 < size && strncasecmp(data, "ETag:", 5) == 0) { /* extract ETag header */ - free(c->cache_data->etag); + talloc_free(c->cache_data->etag); c->cache_data->etag = talloc_array(c, char, size); if (!c->cache_data->etag) { LOG(("malloc failed")); |