Mix_Chunk and allocated flag

Hello all,

I’ve been wondering how one would go about handling a Mix_Chunk where its
buffer has been allocated outside of SDL_mixer. I understand I set the
allocated flag to 1, but then what? What happens to the chunk when the
channel finishes playing it?
Will Mix_GetChunk work for this, in freeing the old chunk?

Thanks in advance!

-Tyler–
Visit my blog at http://oddco.ca/zeroth/zblog