diff --git a/src/compiledata.cpp b/src/compiledata.cpp index 8a0e57bd..03c816a2 100644 --- a/src/compiledata.cpp +++ b/src/compiledata.cpp @@ -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);