git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@832 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2010-09-10 21:57:55 +00:00
parent 617ee5cdff
commit fbbbac84a6

View File

@ -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;
}