aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_im.c')
-rw-r--r--irc_im.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc_im.c b/irc_im.c
index 62f5a54b..6e6a0e25 100644
--- a/irc_im.c
+++ b/irc_im.c
@@ -636,6 +636,7 @@ static gboolean bee_irc_chat_msg( bee_t *bee, struct groupchat *c, bee_user_t *b
wrapped = word_wrap( msg, 425 );
irc_send_msg( iu, "PRIVMSG", ic->name, wrapped, ts );
g_free( ts );
+ g_free( wrapped );
return TRUE;
}