[SDL] Minor memory leak in SDL_mixer (Timidity)
john at johnnypops.demon.co.uk
Thu Jul 4 20:22:01 PDT 2002
enclosed a patch that makes close_music() call a new function,
Timidity_Exit(), to tidy up Timidity.
Timidity_Exit() calls free_instruments() which in turn calls
free_bank() where a small change has been made to free up the
string names that are allocated when the config file is scanned.
The memory blocks resample_buffer and common_buffer are also
Should be able to remove this comment from 'timidity.c' as well!
/* Allocate memory for mixing (WARNING: Memory leak!) */
Hope it is useful,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2281 bytes
Desc: not available
More information about the SDL