1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

trigger: fix memory leak in command /trigger addinput

This commit is contained in:
Sébastien Helleu
2022-05-24 22:12:40 +02:00
parent cefed25912
commit 5876a8335f
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ Bug fixes::
* irc: fix add of channel to autojoin option when joining a channel with a buffer still opened
* relay: fix save of channels in autojoin option when JOIN and PART commands are received from an IRC relay client (issue #1771)
* trigger: add `${buffer.notify} > 0` in conditions of default trigger "beep"
* trigger: fix memory leak in command `/trigger addinput`
[[v3.5]]
== Version 3.5 (2022-03-27)
+2
View File
@@ -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;
}