summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-07 15:39:59 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-07 15:39:59 +0100
commit63fc84a25f97c811259dbf1af51fc045b95c5659 (patch)
tree183c50fafb36c84d4d3efa723a65b0b9e27db47b
parent8b0aec4bac4af7fe119227280ed15bf014f104c3 (diff)
downloadnetsurf-63fc84a25f97c811259dbf1af51fc045b95c5659.tar.gz
netsurf-63fc84a25f97c811259dbf1af51fc045b95c5659.tar.bz2
netsurf_exit(): Finalise DOM namespace stringsHEADmaster
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--desktop/netsurf.c4
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);