void entry_clear_history() { dwb.state.last_com_history = NULL; dwb.state.last_nav_history = NULL; dwb.state.last_find_history = NULL; FREE0(s_store); GLIST_FREE0(s_filterlist); }
void plugins_free(Plugins *p) { if (p == NULL) return; if (p->clicks != NULL) { for (GSList *l = p->clicks; l; l=l->next) g_object_unref(l->data); g_slist_free(p->clicks); } plugins_free_elements(p); FREE0(p); }