mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865)
This commit is contained in:
@@ -283,8 +283,7 @@ alias_replace_args (const char *alias_args, const char *user_args)
|
||||
if (pos > start)
|
||||
weechat_string_dyn_concat (result, start, -1);
|
||||
|
||||
if (argv)
|
||||
weechat_string_free_split (argv);
|
||||
weechat_string_free_split (argv);
|
||||
|
||||
return weechat_string_dyn_free (result, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user