Any sv_init calls after the first one don't fail, but initialize the library again, causing memory leaks.
I believe it should either fail or run sv_deinit when called, and maybe have a function returning information about the library being initialized already?
SunVox Library - sv_init() doesn't also run sv_deinit, leaving allocated memory behind [FIXED in 2.1b]
- NightRadio
- Site Admin
- Posts: 3955
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact: