1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865)

This commit is contained in:
Sébastien Helleu
2024-04-25 19:07:02 +02:00
parent f11c7c1bf4
commit 9a5a1fb300
32 changed files with 65 additions and 135 deletions
+1 -3
View File
@@ -63,9 +63,7 @@ exec_config_change_command_default_options (const void *pointer, void *data,
(void) data;
(void) option;
if (exec_config_cmd_options)
weechat_string_free_split (exec_config_cmd_options);
weechat_string_free_split (exec_config_cmd_options);
exec_config_cmd_options = weechat_string_split (
weechat_config_string (exec_config_command_default_options),
" ",