1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

modules_deinit: Fix -Werror=declaration-after-statement

This commit is contained in:
dequis 2018-08-24 02:27:45 -03:00
parent ade2f87fe5
commit e450a7f8c1

View File

@ -288,8 +288,8 @@ void modules_deinit(void)
g_hash_table_foreach(stridlookup, (GHFunc) uniq_get_modules, &list);
while (list != NULL) {
module_uniq_destroy(list->data);
void *tmp = list->data;
module_uniq_destroy(list->data);
list = g_slist_remove(list, list->data);
g_free(tmp);
}