diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2006-01-17 20:20:28 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-01-17 20:20:28 +0000 |
commit | df69be65d42cdcdd4fc2025042de72f5792e372d (patch) | |
tree | d239f5a4d65261ca704fc3a22b306a009219cbee | |
parent | d6a62c26e674c219357de1a6e3b58234510eba65 (diff) | |
download | irssi-df69be65d42cdcdd4fc2025042de72f5792e372d.zip |
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
-rw-r--r-- | src/irc/dcc/dcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index ef3d29ef..a71d95d8 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -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); } } |