rem: for(int32 i=0; i < settings->parameter_count; i++) free_driver_parameter(&settings->parameters[i]);
add: if(!settings) return;  for(int32 index = 0; index < settings->parameter_count; index++) free_driver_parameter(&settings->parameters[index]);
context: free_driver_settings(driver_settings *settings){	for(int32 i=0; i < settings->parameter_count; i++)		free_driver_parameter(&settings->parameters[i]);		free(settings->parameters);	free(settings);}