summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-15 12:16:52 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-15 12:16:52 +0200
commit7b0cced319c46d3cc04b1da6d6aaed9232674e62 (patch)
treec69a573c3c6222c9450d8b36cc2e3fb06bd697ee /src/gui
parent8e939b089db38a427075dc69d1c8c6a2d6d1af77 (diff)
downloadweechat-7b0cced319c46d3cc04b1da6d6aaed9232674e62.zip
core: fix destruction of line prefix in weechat_print modifier
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-chat.c2
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;