Browse Source

Changed clean-up order in test program.

Philipp Wiesemann 10 years ago
parent
commit
b00214c3d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testaudiohotplug.c

+ 1 - 1
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);
 }