From b88a81b9d9570c3219dc924c3dd2b424d99ee4c3 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 23 Jun 2005 17:22:28 +0000 Subject: [project @ 2005-06-23 17:22:28 by rjw] Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2. svn path=/import/netsurf/; revision=1761 --- render/html.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'render') diff --git a/render/html.c b/render/html.c index 0c350342f..fe3488709 100644 --- a/render/html.c +++ b/render/html.c @@ -1143,6 +1143,11 @@ void html_destroy(struct content *c) imagemap_destroy(c); + if (c->bitmap) { + bitmap_destroy(c->bitmap); + c->bitmap = NULL; + } + if (c->data.html.parser) htmlFreeParserCtxt(c->data.html.parser); -- cgit v1.2.3