Release low-level cache handle when destroying contents

svn path=/trunk/netsurf/; revision=10372
This commit is contained in:
John Mark Bell 2010-04-11 20:58:50 +00:00
parent 71de3618f1
commit 486731e589

View File

@ -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);
}