diff options
author | Michael Vetter <jubalh@openmailbox.org> | 2015-10-09 11:24:54 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@openmailbox.org> | 2015-10-12 09:29:04 +0200 |
commit | 4730dca546a6242b71cb9fcef1dc7d5adb1fe0a5 (patch) | |
tree | 120e51efd8a3ac855db123203ac0ebbf56b5baab | |
parent | dd2ce7a5bfe6b854f8a54137c6bbcf536de1ddd7 (diff) | |
download | profani-tty-4730dca546a6242b71cb9fcef1dc7d5adb1fe0a5.tar.gz |
Undefine argument list
Call va_end() to correclty stop using the argument list.
-rw-r--r-- | src/ui/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 261b9380..82073b40 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -905,6 +905,7 @@ win_vprint(ProfWin *window, const char show_char, int pad_indent, GDateTime *tim g_string_vprintf(fmt_msg, message, arg); win_print(window, show_char, pad_indent, timestamp, flags, theme_item, from, fmt_msg->str); g_string_free(fmt_msg, TRUE); + va_end(arg); } void |