From b9bce3fa310f77cde2765b6fc3296217bb7aadff Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 31 May 2008 15:52:22 +0000 Subject: Fix freeing of etag data. svn path=/trunk/netsurf/; revision=4229 --- content/fetchcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/fetchcache.c') 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")); -- cgit v1.2.3