Free tune_data when returning from CompileIntonation.

This commit is contained in:
Reece H. Dunn
2015-10-04 13:42:25 +01:00
parent 6ae765f0f4
commit af16ee6327
+2
View File
@@ -3999,6 +3999,7 @@ void CompileIntonation()
{
fclose(f_in);
fclose(f_errors);
free(tune_data);
return;
}
@@ -4185,6 +4186,7 @@ void CompileIntonation()
}
}
fwrite(tune_data, n_tune_names, sizeof(TUNE), f_out);
free(tune_data);
fclose(f_in);
fclose(f_out);