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

{ {
fclose(f_in); fclose(f_in);
fclose(f_errors); fclose(f_errors);
free(tune_data);
return; return;
} }


} }
} }
fwrite(tune_data, n_tune_names, sizeof(TUNE), f_out); fwrite(tune_data, n_tune_names, sizeof(TUNE), f_out);
free(tune_data);
fclose(f_in); fclose(f_in);
fclose(f_out); fclose(f_out);



Loading…
Cancel
Save