Browse Source

Free tune_data when returning from CompileIntonation.

master
Reece H. Dunn 9 years ago
parent
commit
af16ee6327
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/compiledata.cpp

+ 2
- 0
src/compiledata.cpp 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);


Loading…
Cancel
Save