SunVox Library - sv_init() doesn't also run sv_deinit, leaving allocated memory behind [FIXED in 2.1b]

Found a bug? Post it here.
Post Reply
User avatar
Sotakebk
Posts: 16
Joined: Thu Nov 03, 2022 8:52 pm

SunVox Library - sv_init() doesn't also run sv_deinit, leaving allocated memory behind [FIXED in 2.1b]

Post by Sotakebk »

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?
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: SunVox Library - sv_init() doesn't also run sv_deinit, leaving allocated memory behind

Post by NightRadio »

Will be fixed in 2.1b
Post Reply