summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;