diff --git a/desktop/global_history.c b/desktop/global_history.c index b6f488228..a19349f51 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -803,6 +803,7 @@ nserror global_history_fini(void) /* Destroy the global history treeview */ err = treeview_destroy(gh_ctx.tree); + gh_ctx.tree = NULL; /* Free global history treeview entry fields */ for (i = 0; i < N_FIELDS; i++)