aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/irc_channel.c b/irc_channel.c
index 15b1744a..03fe93e9 100644
--- a/irc_channel.c
+++ b/irc_channel.c
@@ -142,6 +142,8 @@ int irc_channel_free( irc_channel_t *ic )
iu->last_channel = irc->default_channel;
}
+ if( ic->pastebuf_timer ) b_event_remove( ic->pastebuf_timer );
+
g_free( ic->name );
g_free( ic->topic );
g_free( ic->topic_who );