clear tree pointer on free

This commit is contained in:
Chris Young 2017-01-05 18:53:33 +00:00
parent e98a05bb08
commit 5687f6c27d

View File

@ -843,6 +843,7 @@ nserror cookie_manager_fini(void)
/* Destroy the cookie manager treeview */
err = treeview_destroy(cm_ctx.tree);
cm_ctx.tree = NULL;
/* Free cookie manager treeview entry fields */
for (i = 0; i < COOKIE_M_N_FIELDS; i++)