summaryrefslogtreecommitdiff
path: root/src/plugins/trigger/trigger-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/trigger/trigger-buffer.c')
-rw-r--r--src/plugins/trigger/trigger-buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/trigger/trigger-buffer.c b/src/plugins/trigger/trigger-buffer.c
index d96ec1d24..70c404cfe 100644
--- a/src/plugins/trigger/trigger-buffer.c
+++ b/src/plugins/trigger/trigger-buffer.c
@@ -287,8 +287,7 @@ trigger_buffer_hashtable_map_cb (void *data,
weechat_color ("reset"),
(value_no_color) ? value_no_color : (const char *)value,
weechat_color ("chat_delimiters"));
- if (value_no_color)
- free (value_no_color);
+ free (value_no_color);
}
else if (strcmp (value_type, "pointer") == 0)
{