Release Bass / BassCd objects?

Started by AudioVideo,

AudioVideo

Hi
To prevent using Bass Net I'm using DllImport for Bass.dll and BassCd.dll in a WinForms app.
I'm using
BASS_Init, BASS_Start and more
BASS_CD_IsReady and BASS_CD_StreamCreate
Should I manually release objects to prevent memory leak? How/which methods?
Thanks.

Ian @ un4seen

You should use BASS_StreamFree (or BASS_ChannelFree) to free the stream created by BASS_CD_StreamCreate. And BASS_Free when closing your app, although this probably isn't absolutely necessary (Windows will free everything anyway).