Commit f3d2e423 authored by François Grisez's avatar François Grisez

Fix call to wrong free()

parent ecbe4033
...@@ -147,7 +147,7 @@ static void play_file(const char *filepath, PlayerTestFlags flags) { ...@@ -147,7 +147,7 @@ static void play_file(const char *filepath, PlayerTestFlags flags) {
static void play_root_file(const char *filepath, PlayerTestFlags flags){ static void play_root_file(const char *filepath, PlayerTestFlags flags){
char* file = bc_tester_res(filepath); char* file = bc_tester_res(filepath);
play_file(file, flags); play_file(file, flags);
free(file); bc_free(file);
} }
static void play_hello_8000_wav(void) { static void play_hello_8000_wav(void) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment