about summary refs log tree commit diff stats
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-08-09 23:08:36 +0100
committerJames Booth <boothj5@gmail.com>2015-08-09 23:08:36 +0100
commit0410dd90f1393ad05858a5d42626ddb04bbdd5ad (patch)
treeb077e7b17cd1ae51e4ce32b3533b360333722575 /src/ui/window.c
parentdea10ecfdc01756203f30975914a1d594070aa18 (diff)
downloadprofani-tty-0410dd90f1393ad05858a5d42626ddb04bbdd5ad.tar.gz
Free timestamp and id for receipts
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index d537c97a..ef675c09 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -940,6 +940,7 @@ win_print_with_receipt(ProfWin *window, const char show_char, int pad_indent, GT
     _win_print(window, show_char, pad_indent, time, flags, theme_item, from, message, receipt);
     // TODO: cross-reference.. this should be replaced by a real event-based system
     ui_input_nonblocking(TRUE);
+    g_date_time_unref(time);
 }
 
 void