mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-13 18:20:50 +01:00
fix lil' memory leaks
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@535 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
b44f87bd4b
commit
d7ea342328
@ -195,6 +195,7 @@ VGMSTREAM * init_vgmstream_aix(STREAMFILE *streamFile) {
|
||||
|
||||
vgmstream->codec_data = data;
|
||||
free(segment_offset);
|
||||
free(samples_in_segment);
|
||||
|
||||
return vgmstream;
|
||||
|
||||
|
@ -347,6 +347,7 @@ int main(int argc, char ** argv) {
|
||||
}
|
||||
|
||||
close_vgmstream(s);
|
||||
free(buf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user