mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: remove check of NULL pointers before calling infolist_free() (issue #865)
This commit is contained in:
@@ -709,8 +709,7 @@ upgrade_file_read_object (struct t_upgrade_file *upgrade_file)
|
||||
}
|
||||
|
||||
end:
|
||||
if (infolist)
|
||||
infolist_free (infolist);
|
||||
infolist_free (infolist);
|
||||
free (name);
|
||||
free (value_str);
|
||||
free (buffer);
|
||||
|
||||
Reference in New Issue
Block a user