Release favicon when HTML content is destroyed

svn path=/trunk/netsurf/; revision=10239
This commit is contained in:
John Mark Bell 2010-04-04 17:19:10 +00:00
parent 69f02e926f
commit ca7441ea54

View File

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