--- a/test/testaudiohotplug.c Thu May 21 21:25:14 2015 +0200 +++ b/test/testaudiohotplug.c Thu May 21 21:25:32 2015 +0200 @@ -175,8 +175,8 @@ #endif /* Clean up on signal */ + SDL_FreeWAV(sound); SDL_Quit(); - SDL_FreeWAV(sound); return (0); }