1
0
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:
Sébastien Helleu
2024-04-25 19:07:02 +02:00
parent f11c7c1bf4
commit 9a5a1fb300
32 changed files with 65 additions and 135 deletions
+1 -2
View File
@@ -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);
}