mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-31 05:01:36 +00:00
Remove unnecessary checks
This commit is contained in:
parent
2d5a8be148
commit
899bd68d3f
1 changed files with 2 additions and 8 deletions
|
|
@ -693,14 +693,8 @@ void audio_custom_shutdown(void) {
|
|||
}
|
||||
ma_sound_uninit(&audio->sound);
|
||||
}
|
||||
if (audio->filepath) {
|
||||
free((void *) audio->filepath);
|
||||
audio->filepath = NULL;
|
||||
}
|
||||
if (audio->buffer) {
|
||||
free(audio->buffer);
|
||||
audio->buffer = NULL;
|
||||
}
|
||||
free((void *) audio->filepath);
|
||||
free(audio->buffer);
|
||||
dynamic_pool_free(sModAudioPool, audio);
|
||||
node = prev;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue