1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

core: fix destruction of line prefix in weechat_print modifier

This commit is contained in:
Sébastien Helleu
2018-08-15 12:16:52 +02:00
parent 8e939b089d
commit 7b0cced319
+1 -1
View File
@@ -799,7 +799,7 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
{
if (new_line->data->prefix)
{
free (new_line->data->prefix);
string_shared_free (new_line->data->prefix);
new_line->data->prefix = NULL;
}
new_line->data->prefix_length = 0;