diff options
author | James Booth <boothj5@gmail.com> | 2013-08-27 20:48:15 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-08-27 20:48:15 +0100 |
commit | d9fb9ad4a759036a26d8a2ad96737469fe438e86 (patch) | |
tree | a70d4e44684796c025c6dc6e59ef5f52f4a97f8f /src | |
parent | 133614d749b108fba8f1946d441d1aa958c2883b (diff) | |
download | profani-tty-d9fb9ad4a759036a26d8a2ad96737469fe438e86.tar.gz |
Fixed freeing recipient after /tiny
Diffstat (limited to 'src')
-rw-r--r-- | src/command/command.c | 3 |
1 files changed, 0 insertions, 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 { |