Christoph Mallon: Remove pointless if (x) before SDL_free(x)
This commit is contained in:
1 parent
1d2c7796ae
commit
f79fc33a39
63 files changed
+157
-349
No files matched your search
@@ -747,11 +747,9 @@ int audio_convertAudio()
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user