ref: 266bb13be2d6d91305587b58b450a47628b602cd
parent: 5026964d98a818cbbeecb40847aa240a669f65e5
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Nov 9 09:53:34 EST 2019
Compare some pointers to NULL Doesn't affect ASM-accuracy - I just think it looks neater.
--- a/src/Sound.cpp
+++ b/src/Sound.cpp
@@ -368,10 +368,10 @@
{
if (!MakePixelWaveData(ptp_pointer, pcm_buffer))
{
- if (pcm_buffer)
+ if (pcm_buffer != NULL)
free(pcm_buffer);
- if (mixed_pcm_buffer)
+ if (mixed_pcm_buffer != NULL)
free(mixed_pcm_buffer);
return -1;