diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-08-15 12:16:52 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-08-15 12:16:52 +0200 |
commit | 7b0cced319c46d3cc04b1da6d6aaed9232674e62 (patch) | |
tree | c69a573c3c6222c9450d8b36cc2e3fb06bd697ee /src/gui | |
parent | 8e939b089db38a427075dc69d1c8c6a2d6d1af77 (diff) | |
download | weechat-7b0cced319c46d3cc04b1da6d6aaed9232674e62.zip |
core: fix destruction of line prefix in weechat_print modifier
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 727dc5a4b..2cc2c84b2 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -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; |