summaryrefslogtreecommitdiff
path: root/desktop/hotlist.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-23 09:37:42 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-23 09:37:42 +0000
commitbc94555d9e5f51bc044a1a3413a932d69190f503 (patch)
tree285d280a7d7147a88d43ddba25ff153f50c4df21 /desktop/hotlist.c
parent16163aab0318c2c1a1576cbc4d87c8ba0f36b766 (diff)
downloadnetsurf-bc94555d9e5f51bc044a1a3413a932d69190f503.tar.gz
netsurf-bc94555d9e5f51bc044a1a3413a932d69190f503.tar.bz2
hotlist: Report if infallible destruction fails
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r--desktop/hotlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 4daaaed71..e9cbb5ffb 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -1403,6 +1403,9 @@ nserror hotlist_fini(void)
/* Destroy the hotlist treeview */
err = treeview_destroy(hl_ctx.tree);
+ if (err != NSERROR_OK) {
+ NSLOG(netsurf, INFO, "Problem destroying the hotlist treeview.");
+ }
hl_ctx.built = false;
/* Free hotlist treeview entry fields */