mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 19:37:17 +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,
|
||||
"error reading EEPROM file %s",
|
||||
filename);
|
||||
close (fd);
|
||||
return FALSE;
|
||||
}
|
||||
close (fd);
|
||||
} else {
|
||||
rc = synapticsmst_common_rc_get_command (connection,
|
||||
UPDC_READ_FROM_EEPROM,
|
||||
|
Loading…
Reference in New Issue
Block a user