diff --git a/test/testaudiohotplug.c b/test/testaudiohotplug.c index 6c3d88cd1..bf5c09ec9 100644 --- a/test/testaudiohotplug.c +++ b/test/testaudiohotplug.c @@ -175,8 +175,8 @@ main(int argc, char *argv[]) #endif /* Clean up on signal */ - SDL_Quit(); SDL_FreeWAV(sound); + SDL_Quit(); return (0); }