mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 09:44:24 +03:00
Release favicon when HTML content is destroyed
svn path=/trunk/netsurf/; revision=10239
This commit is contained in:
parent
69f02e926f
commit
ca7441ea54
@ -1747,6 +1747,11 @@ void html_destroy(struct content *c)
|
||||
form_free(f);
|
||||
}
|
||||
|
||||
if (c->data.html.favicon != NULL) {
|
||||
hlcache_handle_release(c->data.html.favicon);
|
||||
c->data.html.favicon = NULL;
|
||||
}
|
||||
|
||||
imagemap_destroy(c);
|
||||
|
||||
if (c->data.html.parser_binding)
|
||||
|
Loading…
Reference in New Issue
Block a user