1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix segfault on /quit by using a linked list node after freeing it (by Chris Moore)

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4202 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Wouter Coekaerts 2006-01-17 20:20:28 +00:00 committed by coekie
parent d6a62c26e6
commit df69be65d4

View File

@ -58,8 +58,8 @@ void dcc_unregister_type(const char *type)
pos = gslist_find_string(dcc_types, type);
if (pos != NULL) {
dcc_types = g_slist_remove(dcc_types, pos->data);
g_free(pos->data);
dcc_types = g_slist_remove(dcc_types, pos->data);
}
}