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