Fixed memory leak in comedi_cleanup_calibration().

This commit is contained in:
Frank Mori Hess 2008-08-29 19:17:40 +00:00
parent 6c1a1cdacb
commit b94b2ba024

View file

@ -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;
}