1
0
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:
Sébastien Helleu
2024-04-25 19:30:32 +02:00
parent ee51e6c05f
commit ac7cc25763
+1 -2
View File
@@ -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);