mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 01:33:12 +02:00
plugins: remove check of NULL pointers before calling weechat_config_option_free() (issue #865)
This commit is contained in:
@@ -260,8 +260,7 @@ relay_command_relay (const void *pointer, void *data,
|
||||
relay_config_file,
|
||||
(unix_socket) ? relay_config_section_path : relay_config_section_port,
|
||||
argv_eol[2]);
|
||||
if (ptr_option)
|
||||
weechat_config_option_free (ptr_option);
|
||||
weechat_config_option_free (ptr_option);
|
||||
weechat_printf (NULL,
|
||||
_("%s: relay \"%s\" (%s: %s) removed"),
|
||||
RELAY_PLUGIN_NAME,
|
||||
|
||||
Reference in New Issue
Block a user