mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-03 13:59:56 +01:00
fix amidi error handling
Fix error handling when the input file cannot be loaded.
This commit is contained in:
parent
b1e13d251a
commit
44cb75c764
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ static void load_file(void)
|
|||
goto _exit;
|
||||
_error:
|
||||
free(send_data);
|
||||
send_data = NULL;
|
||||
_exit:
|
||||
close(fd);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue