diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-30 10:11:33 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-30 10:11:33 +0000 |
commit | e72780d4d6ab4e0486ead10dbab5c633602d4d5f (patch) | |
tree | ff27e197a76fdb0f698234d26129a308d3fee008 | |
parent | f1ecfca8a7d4459b32ea3db19d44bbe4f71ff55c (diff) | |
download | irssi-e72780d4d6ab4e0486ead10dbab5c633602d4d5f.zip |
DCC_REC was missing MODULE_DATA_INIT() / .._DEINIT()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1602 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/irc/dcc/dcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |