Free a music object.
void Mix_FreeMusic(Mix_Music *music);
|music||the music object to free.|
If this music is currently playing, it will be stopped.
If this music is in the process of fading out (via Mix_FadeOutMusic()), this function will block until the fade completes. If you need to avoid this, be sure to call Mix_HaltMusic() before freeing the music.
This function is available since SDL_mixer 2.0.0.