Commit b00214c3d6b59de56a3f65ae96e391ac48c2931d

Philipp Wiesemann 2015-05-21T21:25:32

Changed clean-up order in test program.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/test/testaudiohotplug.c b/test/testaudiohotplug.c
index 6c3d88c..bf5c09e 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);
 }