mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Fix EAAC file leak
This commit is contained in:
parent
a93e1d5c69
commit
2288370d8b
@ -1618,11 +1618,13 @@ static layered_layout_data* build_layered_eaaudiocore(STREAMFILE *sf_data, eaac_
|
|||||||
if ( !vgmstream_open_stream(data->layers[i], temp_sf, 0x00) ) {
|
if ( !vgmstream_open_stream(data->layers[i], temp_sf, 0x00) ) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close_streamfile(temp_sf);
|
||||||
|
temp_sf = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!setup_layout_layered(data))
|
if (!setup_layout_layered(data))
|
||||||
goto fail;
|
goto fail;
|
||||||
close_streamfile(temp_sf);
|
|
||||||
return data;
|
return data;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user