From d9fb9ad4a759036a26d8a2ad96737469fe438e86 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 27 Aug 2013 20:48:15 +0100 Subject: [PATCH] Fixed freeing recipient after /tiny --- src/command/command.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index c8304736..b6fd90ff 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -3001,16 +3001,13 @@ _cmd_tiny(gchar **args, struct cmd_help_t help) } ui_outgoing_msg("me", recipient, tiny); - free(recipient); } else if (win_type == WIN_PRIVATE) { char *recipient = ui_current_recipient(); message_send(tiny, recipient); ui_outgoing_msg("me", recipient, tiny); - free(recipient); } else { // groupchat char *recipient = ui_current_recipient(); message_send_groupchat(tiny, recipient); - free(recipient); } free(tiny); } else {