mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Properly dispose the GSList chains
We forgot to free the link and the data, oops.
This commit is contained in:
parent
f4d811ddf5
commit
cfc8c9f8e2
3 changed files with 17 additions and 5 deletions
|
|
@ -22,6 +22,7 @@ GSList *gslist_find_icase_string(GSList *list, const char *key);
|
|||
GList *glist_find_string(GList *list, const char *key);
|
||||
GList *glist_find_icase_string(GList *list, const char *key);
|
||||
GSList *gslist_remove_string (GSList *list, const char *str);
|
||||
GSList *gslist_delete_string (GSList *list, const char *str, GDestroyNotify free_func);
|
||||
|
||||
void gslist_free_full (GSList *list, GDestroyNotify free_func);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue