mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-13 11:21:06 +00:00
Remove redundant fclose (#529)
This commit is contained in:
parent
c04acc653e
commit
b041fffc44
1 changed files with 2 additions and 2 deletions
|
@ -1891,14 +1891,14 @@ fluid_player_load(fluid_player_t *player, fluid_playlist_item *item)
|
|||
|
||||
buffer = fluid_file_read_full(fp, &buffer_length);
|
||||
|
||||
FLUID_FCLOSE(fp);
|
||||
|
||||
if(buffer == NULL)
|
||||
{
|
||||
FLUID_FCLOSE(fp);
|
||||
return FLUID_FAILED;
|
||||
}
|
||||
|
||||
buffer_owned = 1;
|
||||
FLUID_FCLOSE(fp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue