From fd8a0b49701bf17f7ce171a78073a8d7f1ae46fe Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 26 Aug 2013 16:42:31 +0100 Subject: [PATCH] Fixed freeing of recipient after message sent --- src/command/command.c | 2 -- src/ui/core.c | 1 - 2 files changed, 3 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index 626b108e..4235c15d 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1189,8 +1189,6 @@ cmd_execute_default(const char * const inp) break; } - free(recipient); - return TRUE; } diff --git a/src/ui/core.c b/src/ui/core.c index df63ac2a..97825c95 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -595,7 +595,6 @@ ui_switch_win(const int i) } wins_refresh_current(); } - } void