Changed clean-up order in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 21 May 2015 21:25:32 +0200
changeset 961027485b58df22
parent 9609 897b25f560d0
child 9611 c23b2fa8d4c2
Changed clean-up order in test program.
test/testaudiohotplug.c
     1.1 --- a/test/testaudiohotplug.c	Thu May 21 21:25:14 2015 +0200
     1.2 +++ b/test/testaudiohotplug.c	Thu May 21 21:25:32 2015 +0200
     1.3 @@ -175,8 +175,8 @@
     1.4  #endif
     1.5  
     1.6      /* Clean up on signal */
     1.7 +    SDL_FreeWAV(sound);
     1.8      SDL_Quit();
     1.9 -    SDL_FreeWAV(sound);
    1.10      return (0);
    1.11  }
    1.12