mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865)
This commit is contained in:
@@ -72,8 +72,7 @@ plugin_script_api_string_match_list (struct t_weechat_plugin *weechat_plugin,
|
||||
(const char **)list_masks,
|
||||
case_sensitive);
|
||||
|
||||
if (list_masks)
|
||||
weechat_string_free_split (list_masks);
|
||||
weechat_string_free_split (list_masks);
|
||||
|
||||
return match;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user