From 9f575c590b3c304ab02707ee3378bd2e4f4c9094 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 30 Mar 2010 21:36:39 +0000 Subject: Do not abort fetch on receipt of FETCH_ERROR: the fetch has already been destroyed. Implement LLCACHE_EVENT_ERROR case of hlcache_llcache_callback(). svn path=/trunk/netsurf/; revision=10218 --- content/llcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/llcache.c') diff --git a/content/llcache.c b/content/llcache.c index 19bb7e089..49556b1fe 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -1327,7 +1327,7 @@ void llcache_fetch_callback(fetch_msg msg, void *p, const void *data, /* Out-of-band information */ case FETCH_ERROR: /* An error occurred while fetching */ - fetch_abort(object->fetch.fetch); + /* The fetch has has already been cleaned up by the fetcher */ object->fetch.fetch = NULL; /** \todo Ensure this object becomes stale */ -- cgit v1.2.3