mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 09:13:14 +02:00
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865)
This commit is contained in:
@@ -966,10 +966,8 @@ script_repo_match_filter (struct t_script_repo *script)
|
||||
}
|
||||
}
|
||||
|
||||
if (words)
|
||||
weechat_string_free_split (words);
|
||||
if (tags)
|
||||
weechat_string_free_split (tags);
|
||||
weechat_string_free_split (words);
|
||||
weechat_string_free_split (tags);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user