mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed a memory leak and removed debug output.
This commit is contained in:
parent
88f9f0982c
commit
5da1433c57
2 changed files with 4 additions and 1 deletions
|
@ -108,6 +108,10 @@ MIDIStreamer::~MIDIStreamer()
|
|||
{
|
||||
delete MIDI;
|
||||
}
|
||||
if (source != nullptr)
|
||||
{
|
||||
delete source;
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
@ -69,7 +69,6 @@ static int READCHUNK(SFChunk *vp, struct timidity_file *tf)
|
|||
if (tf_read(vp, 8, 1, tf) != 1)
|
||||
return -1;
|
||||
vp->size = LE_LONG(vp->size);
|
||||
Printf("%.4s %d, %d\n", vp->id, vp->size, tf_tell(tf));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue