diff options
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c index b4945cd98..f86595e1a 100644 --- a/render/html.c +++ b/render/html.c @@ -3002,6 +3002,7 @@ static content_type html_content_type(void) static void html_fini(void) { + box_construct_fini(); #define HTML_DOM_STRING_UNREF(NAME) \ do { \ @@ -3150,6 +3151,10 @@ nserror html_init(void) if ((exc != DOM_NO_ERR) || (html_dom_string_http_equiv == NULL)) goto error; + error = box_construct_init(); + if (error != NSERROR_OK) + goto error; + for (i = 0; i < NOF_ELEMENTS(html_types); i++) { error = content_factory_register_handler(html_types[i], &html_content_handler); |