about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-16 01:29:03 +0000
committerJames Booth <boothj5@gmail.com>2015-03-16 01:29:03 +0000
commit981618b7da2d151d51987c3942e959d6838b08ae (patch)
tree78406477ed3e7c7aeadc316d978d66a8314cc93f /src/ui
parente7e1688d8aa3e7deaea7e15cad7c189a32c570e0 (diff)
downloadprofani-tty-981618b7da2d151d51987c3942e959d6838b08ae.tar.gz
Added static functions to commands.c for sending messages
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 4663089f..2a1b1a7b 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -906,7 +906,6 @@ win_print_with_receipt(ProfWin *window, const char show_char, GTimeVal *tstamp,
     DeliveryReceipt *receipt = malloc(sizeof(struct delivery_receipt_t));
     receipt->id = strdup(id);
     receipt->received = FALSE;
-    free(id);
 
     buffer_push(window->layout->buffer, show_char, time, flags, theme_item, from, message, receipt);
     _win_print(window, show_char, time, flags, theme_item, from, message, receipt);