Christoph Mallon: Remove pointless if (x) before SDL_free(x)
This commit is contained in:
parent
edc88be724
commit
08dfaaa2e6
63 changed files with 157 additions and 349 deletions
|
@ -205,9 +205,7 @@ XAUDIO2_CloseDevice(_THIS)
|
|||
if (ixa2 != NULL) {
|
||||
IXAudio2_Release(ixa2);
|
||||
}
|
||||
if (this->hidden->mixbuf != NULL) {
|
||||
SDL_free(this->hidden->mixbuf);
|
||||
}
|
||||
SDL_free(this->hidden->mixbuf);
|
||||
if (this->hidden->semaphore != NULL) {
|
||||
CloseHandle(this->hidden->semaphore);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue