mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
core: remove check of NULL pointers before calling arraylist_free() (issue #865)
This commit is contained in:
@@ -490,8 +490,7 @@ hook_command_format_args_description (const char *args_description)
|
||||
return string_dyn_free (result, 0);
|
||||
|
||||
error:
|
||||
if (args)
|
||||
arraylist_free (args);
|
||||
arraylist_free (args);
|
||||
if (result)
|
||||
string_dyn_free (result, 1);
|
||||
if (lines)
|
||||
|
||||
Reference in New Issue
Block a user