about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-26 16:42:31 +0100
committerJames Booth <boothj5@gmail.com>2013-08-26 16:42:31 +0100
commitfd8a0b49701bf17f7ce171a78073a8d7f1ae46fe (patch)
tree50dc6f4c5fc288f84b1da13140ecd1be3b18f9f5 /src
parent08e7b9a19af2d9bdd3629c2ab76100e0da9c3667 (diff)
downloadprofani-tty-fd8a0b49701bf17f7ce171a78073a8d7f1ae46fe.tar.gz
Fixed freeing of recipient after message sent
Diffstat (limited to 'src')
-rw-r--r--src/command/command.c2
-rw-r--r--src/ui/core.c1
2 files changed, 0 insertions, 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