mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-17 11:57:08 +01:00
cleanup
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@832 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
617ee5cdff
commit
fbbbac84a6
@ -214,6 +214,14 @@ VGMSTREAM * init_vgmstream_ps3_xvag(STREAMFILE *streamFile) {
|
||||
|
||||
/* clean up anything we may have opened */
|
||||
fail:
|
||||
if (mpeg_data) {
|
||||
mpg123_delete(mpeg_data->m);
|
||||
free(mpeg_data);
|
||||
|
||||
if (vgmstream) {
|
||||
vgmstream->codec_data = NULL;
|
||||
}
|
||||
}
|
||||
if (vgmstream) close_vgmstream(vgmstream);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user