From e72780d4d6ab4e0486ead10dbab5c633602d4d5f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 30 Jun 2001 10:11:33 +0000 Subject: DCC_REC was missing MODULE_DATA_INIT() / .._DEINIT() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1602 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index 16c35be0..fa0853fb 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -76,6 +76,7 @@ void dcc_init_rec(DCC_REC *dcc, IRC_SERVER_REC *server, CHAT_DCC_REC *chat, g_return_if_fail(arg != NULL); g_return_if_fail(server != NULL || chat != NULL); + MODULE_DATA_INIT(dcc); dcc->created = time(NULL); dcc->chat = chat; dcc->arg = g_strdup(arg); @@ -108,6 +109,7 @@ void dcc_destroy(DCC_REC *dcc) if (dcc->tagread != -1) g_source_remove(dcc->tagread); if (dcc->tagwrite != -1) g_source_remove(dcc->tagwrite); + MODULE_DATA_DEINIT(dcc); g_free_not_null(dcc->servertag); g_free_not_null(dcc->target); g_free(dcc->mynick); -- cgit v1.2.3