mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 13:42:23 +00:00
trivial: Fix a resource leak spotted by coverity
This commit is contained in:
parent
8971645f78
commit
3e214856fb
@ -324,8 +324,10 @@ synapticsmst_device_read_board_id (SynapticsMSTDevice *device,
|
|||||||
G_IO_ERROR_INVALID_DATA,
|
G_IO_ERROR_INVALID_DATA,
|
||||||
"error reading EEPROM file %s",
|
"error reading EEPROM file %s",
|
||||||
filename);
|
filename);
|
||||||
|
close (fd);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
close (fd);
|
||||||
} else {
|
} else {
|
||||||
rc = synapticsmst_common_rc_get_command (connection,
|
rc = synapticsmst_common_rc_get_command (connection,
|
||||||
UPDC_READ_FROM_EEPROM,
|
UPDC_READ_FROM_EEPROM,
|
||||||
|
Loading…
Reference in New Issue
Block a user