src/audio/arts/SDL_artsaudio.c
changeset 7719 31b5f9ff36ca
parent 7038 7f22b9ba218f
child 7857 6388f5229bb7
--- a/src/audio/arts/SDL_artsaudio.c	Thu Aug 29 08:27:25 2013 -0700
+++ b/src/audio/arts/SDL_artsaudio.c	Thu Aug 29 08:29:21 2013 -0700
@@ -204,10 +204,8 @@
 ARTS_CloseDevice(_THIS)
 {
     if (this->hidden != NULL) {
-        if (this->hidden->mixbuf != NULL) {
-            SDL_FreeAudioMem(this->hidden->mixbuf);
-            this->hidden->mixbuf = NULL;
-        }
+        SDL_FreeAudioMem(this->hidden->mixbuf);
+        this->hidden->mixbuf = NULL;
         if (this->hidden->stream) {
             SDL_NAME(arts_close_stream) (this->hidden->stream);
             this->hidden->stream = 0;