summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2005-06-23 17:22:28 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2005-06-23 17:22:28 +0000
commitb88a81b9d9570c3219dc924c3dd2b424d99ee4c3 (patch)
tree9c82002745ad96d5c7ef88e3824f77b3956254ea /render/html.c
parentede57892c6ceb1ecc9c75cbc21d22ce92704ebd4 (diff)
downloadnetsurf-b88a81b9d9570c3219dc924c3dd2b424d99ee4c3.tar.gz
netsurf-b88a81b9d9570c3219dc924c3dd2b424d99ee4c3.tar.bz2
[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
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c5
1 files changed, 5 insertions, 0 deletions
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);