diff options
-rw-r--r-- | desktop/netsurf.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <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); |