From 72182685674a0b5650be08c68794606dcd38b7b8 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 10 Apr 2004 12:57:17 +0000 Subject: [project @ 2004-04-10 12:57:17 by jmb] Remove download contents from the cache svn path=/import/netsurf/; revision=742 --- content/fetchcache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content/fetchcache.c') diff --git a/content/fetchcache.c b/content/fetchcache.c index 3ac499c07..b87df6a36 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -164,6 +164,8 @@ void fetchcache_callback(fetch_msg msg, void *p, char *data, unsigned long size) for (i = 0; params[i]; i++) free(params[i]); free(params); + if (c->cache && c->type == CONTENT_OTHER) + cache_destroy(c); break; case FETCH_DATA: -- cgit v1.2.3