Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug 3072 - Memory leak in SDL_mixer in native_midi_common.c in …
…function MIDItoStream Amit Jain Memory leak in SDL_mixer-2.0.0 in native_midi_common.c in function MIDItoStream(). return without deletion of allocated memory. static MIDIEvent *MIDItoStream(MIDIFile *mididata) { ... ... ... track = (MIDIEvent**) calloc(1, sizeof(MIDIEvent*) * mididata->nTracks); if (NULL == track) return NULL; ... ... ... }
- Loading branch information