diff options
Diffstat (limited to 'content')
-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: |