mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 05:46:22 +00:00
Added form tests
This commit is contained in:
@@ -62,10 +62,12 @@ autocomplete_new(void)
|
||||
void
|
||||
autocomplete_clear(Autocomplete ac)
|
||||
{
|
||||
g_slist_free_full(ac->items, free);
|
||||
ac->items = NULL;
|
||||
if (ac != NULL) {
|
||||
g_slist_free_full(ac->items, free);
|
||||
ac->items = NULL;
|
||||
|
||||
autocomplete_reset(ac);
|
||||
autocomplete_reset(ac);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
@@ -335,4 +337,4 @@ _search_from(Autocomplete ac, GSList *curr, gboolean quote)
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user