summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index b25209c4f..a69844f52 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -54,6 +54,11 @@ static void *netsurf_lwc_alloc(void *ptr, size_t len, void *pw)
return realloc(ptr, len);
}
+static void netsurf_lwc_iterator(lwc_string *str, void *pw)
+{
+ LOG(("%.*s", (int) lwc_string_length(str), lwc_string_data(str)));
+}
+
/**
* Dispatch a low-level cache query to the frontend
*
@@ -191,6 +196,8 @@ void netsurf_exit(void)
hlcache_finalise();
LOG(("Finalising low-level cache"));
llcache_finalise();
+ LOG(("Remaining lwc strings:"));
+ lwc_iterate_strings(netsurf_lwc_iterator, NULL);
LOG(("Exited successfully"));
}