From 6825f1e67eb5ccf5083ef5e848f9c9f8de222170 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 10 Dec 2002 20:30:03 +0000 Subject: GC fixes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/dcc/dcc.c') diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index 9a4882e5..44ef3f20 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -57,8 +57,8 @@ void dcc_unregister_type(const char *type) pos = gslist_find_string(dcc_types, type); if (pos != NULL) { - g_free(pos->data); dcc_types = g_slist_remove(dcc_types, pos->data); + g_free(pos->data); } } -- cgit v1.2.3