mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +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;
|
goto _exit;
|
||||||
_error:
|
_error:
|
||||||
free(send_data);
|
free(send_data);
|
||||||
|
send_data = NULL;
|
||||||
_exit:
|
_exit:
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue