summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/trigger/trigger-command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c
index fe2466ec9..7c83d58b4 100644
--- a/src/plugins/trigger/trigger-command.c
+++ b/src/plugins/trigger/trigger-command.c
@@ -720,6 +720,8 @@ trigger_command_trigger (const void *pointer, void *data,
weechat_buffer_set (buffer, "input_pos", "13");
free (input);
}
+ if (items)
+ weechat_string_free_split (items);
goto end;
}