From 63fc84a25f97c811259dbf1af51fc045b95c5659 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Sep 2019 15:39:59 +0100 Subject: netsurf_exit(): Finalise DOM namespace strings Signed-off-by: Daniel Silverstone --- desktop/netsurf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 02080eb90..e3babd864 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -24,6 +24,7 @@ #include #include #include +#include #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); -- cgit v1.2.3