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);