Fix some bad memory stuff, add more logging.
This commit is contained in:
@@ -25,13 +25,9 @@ _ecdb_drive_set_capabilities(Ecdb_Drive_Info *drive,
|
||||
|
||||
int
|
||||
ecdb_update_drive_info(Ecdb_Drive_Info *drive,
|
||||
E_Hal_Device_Get_All_Properties_Return *ret,
|
||||
char *udi)
|
||||
E_Hal_Device_Get_All_Properties_Return *ret)
|
||||
{
|
||||
/* Assume that nothing about the physical hardware has changed */
|
||||
drive->udi = udi;
|
||||
|
||||
/* Update the drive directories */
|
||||
/* Assume that the physical hardware hasn't changed */
|
||||
FREE(drive->write_speeds);
|
||||
_ecdb_drive_set_capabilities(drive, ret);
|
||||
|
||||
|
Reference in New Issue
Block a user