mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Change expression in ipmi_pef_list_policies() in order to silence Coverity
This commit is contained in:
parent
8775af38f5
commit
2d66f8d5cf
@ -674,7 +674,7 @@ ipmi_pef_list_policies(struct ipmi_intf * intf)
|
||||
|
||||
tbl_size = ipmi_pef_get_policy_table(intf, &ptbl);
|
||||
if (!tbl_size) {
|
||||
if (!ptbl) {
|
||||
if (ptbl != NULL) {
|
||||
free(ptbl);
|
||||
ptbl = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user