Remove redundant fclose (#529)

This commit is contained in:
Carlo Bramini 2019-04-17 19:08:45 +02:00 committed by Tom M
parent c04acc653e
commit b041fffc44

View file

@ -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
{