diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-04-10 12:57:17 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-04-10 12:57:17 +0000 |
commit | 72182685674a0b5650be08c68794606dcd38b7b8 (patch) | |
tree | f6dcdf1d697bdbef817a158e1719ac3419b761fc | |
parent | e90e01cd49c2ef320580bb838cedec3430f55116 (diff) | |
download | netsurf-72182685674a0b5650be08c68794606dcd38b7b8.tar.gz netsurf-72182685674a0b5650be08c68794606dcd38b7b8.tar.bz2 |
[project @ 2004-04-10 12:57:17 by jmb]
Remove download contents from the cache
svn path=/import/netsurf/; revision=742
-rw-r--r-- | content/fetchcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |