netsurf_exit(): Finalise DOM namespace strings

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-09-07 15:39:59 +01:00
parent 8b0aec4bac
commit 63fc84a25f

View File

@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <libwapcaplet/libwapcaplet.h>
#include <dom/dom.h>
#include "netsurf/inttypes.h"
#include "utils/config.h"
@ -253,6 +254,9 @@ void netsurf_exit(void)
messages_destroy();
corestrings_fini();
if (dom_namespace_finalise() != DOM_NO_ERR) {
NSLOG(netsurf, WARNING, "Unable to finalise DOM namespace strings");
}
NSLOG(netsurf, INFO, "Remaining lwc strings:");
lwc_iterate_strings(netsurf_lwc_iterator, NULL);