Explorar el Código

Changed clean-up order in test program.

Philipp Wiesemann hace 11 años
padre
commit
b00214c3d6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
 }