diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-12-11 16:43:48 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-12-11 16:43:48 +0000 |
commit | 4ad375c3b0e3f65416c02ca7b126b2e7fe375db1 (patch) | |
tree | 262bd7617cd35c041727459e3e3f34cb36fbd863 /desktop/netsurf.c | |
parent | ba0895121b44b21d351ee69a07613f524f322617 (diff) | |
download | netsurf-4ad375c3b0e3f65416c02ca7b126b2e7fe375db1.tar.gz netsurf-4ad375c3b0e3f65416c02ca7b126b2e7fe375db1.tar.bz2 |
Ensure memory used by Messages is freed on exit
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |