test/testautomation_audio.c
changeset 7719 31b5f9ff36ca
parent 7677 871d43c6968a
child 7721 bdf8c2c84e14
--- a/test/testautomation_audio.c	Thu Aug 29 08:27:25 2013 -0700
+++ b/test/testautomation_audio.c	Thu Aug 29 08:29:21 2013 -0700
@@ -747,11 +747,9 @@
             SDLTest_AssertCheck(cvt.len_ratio > 0.0, "Verify conversion length ratio; expected: >0; got: %f", cvt.len_ratio);
 
             /* Free converted buffer */
-            if (cvt.buf != NULL) {
             SDL_free(cvt.buf);
             cvt.buf = NULL;
-        }
-      }
+          }
         }
       }
     }