Fixed memory leak in comedi_cleanup_calibration().
This commit is contained in:
parent
6c1a1cdacb
commit
b94b2ba024
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ static void free_settings( comedi_calibration_t *file_contents )
|
|||
{
|
||||
free_calibration_setting( &file_contents->settings[ i ] );
|
||||
}
|
||||
free(file_contents->settings);
|
||||
file_contents->settings = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue