mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 20:17:58 -04:00
fix memory leak
This commit is contained in:
parent
97779b39fb
commit
9468d7614a
@ -1657,6 +1657,7 @@ static void *I_OPL_RegisterSong(void *data, int len)
|
||||
{
|
||||
MIDIToMidi(&mididata, &mid, &midlen);
|
||||
result = MIDI_LoadFile(mid, midlen);
|
||||
free(mid);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user