Patch for a double free bug in SDL_mixer?

Some time ago, Mandriva received a patch which is supposed to fix a double
free error in SDL_mixer. Could you take a look at this and tell me whether
this seems correct or whether this is bogus?

https://qa.mandriva.com/show_bug.cgi?id=42160--
Frederik Himpe