mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
trigger: fix memory leak in command /trigger addinput
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user