about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-27 20:48:15 +0100
committerJames Booth <boothj5@gmail.com>2013-08-27 20:48:15 +0100
commitd9fb9ad4a759036a26d8a2ad96737469fe438e86 (patch)
treea70d4e44684796c025c6dc6e59ef5f52f4a97f8f /src/command/command.c
parent133614d749b108fba8f1946d441d1aa958c2883b (diff)
downloadprofani-tty-d9fb9ad4a759036a26d8a2ad96737469fe438e86.tar.gz
Fixed freeing recipient after /tiny
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c3
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 {