From 486731e589d3ba921f7021fa6c97a663f0512de0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 11 Apr 2010 20:58:50 +0000 Subject: Release low-level cache handle when destroying contents svn path=/trunk/netsurf/; revision=10372 --- content/content.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/content.c b/content/content.c index ff03e4450..1945f1dc9 100644 --- a/content/content.c +++ b/content/content.c @@ -744,6 +744,10 @@ void content_destroy(struct content *c) if (c->type < HANDLER_MAP_COUNT && handler_map[c->type].destroy) handler_map[c->type].destroy(c); + + llcache_handle_release(c->llcache); + c->llcache = NULL; + talloc_free(c); } -- cgit v1.2.3