From 01eb197f56ae69b0e4dba5d3475585d9cdda599c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 16 Apr 2010 23:15:22 +0000 Subject: [PATCH] When the fetch system informs its clients that certificate verification has failed, it has already stopped and cleaned up the fetch. Stop llcache_fetch_cert_error attempting to abort the fetch, as this will result in a double free. svn path=/trunk/netsurf/; revision=10418 --- content/llcache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/llcache.c b/content/llcache.c index 2d8472b0c..0d20fe8ac 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -2161,8 +2161,7 @@ nserror llcache_fetch_cert_error(llcache_object *object, { nserror error = NSERROR_OK; - /* Abort fetch for this object */ - fetch_abort(object->fetch.fetch); + /* Fetch has been stopped, and destroyed. Invalidate object's pointer */ object->fetch.fetch = NULL; /* Invalidate cache-control data */