mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-25 07:49:38 +03:00
Release low-level cache handle when destroying contents
svn path=/trunk/netsurf/; revision=10372
This commit is contained in:
parent
71de3618f1
commit
486731e589
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user