mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Undefine argument list
Call va_end() to correclty stop using the argument list.
This commit is contained in:
parent
dd2ce7a5bf
commit
4730dca546
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user