Clear pointer after free

This commit is contained in:
Chris Young 2017-01-08 00:46:23 +00:00
parent ae8959fa8b
commit 01e116ee1f

View File

@ -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++)