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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user