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:
@@ -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),
|
||||
" ",
|
||||
|
||||
Reference in New Issue
Block a user