From 4ad375c3b0e3f65416c02ca7b126b2e7fe375db1 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 11 Dec 2016 16:43:48 +0000 Subject: Ensure memory used by Messages is freed on exit --- desktop/netsurf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index d129ef72f..4a1473753 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -279,6 +279,9 @@ void netsurf_exit(void) LOG("Destroying System colours"); ns_system_colour_finalize(); + LOG("Destroying Messages"); + messages_destroy(); + corestrings_fini(); LOG("Remaining lwc strings:"); lwc_iterate_strings(netsurf_lwc_iterator, NULL); -- cgit v1.2.3