Compare some pointers to NULL
Doesn't affect ASM-accuracy - I just think it looks neater.
This commit is contained in:
parent
5026964d98
commit
266bb13be2
1 changed files with 2 additions and 2 deletions
|
@ -368,10 +368,10 @@ int MakePixToneObject(const PIXTONEPARAMETER *ptp, int ptp_num, int no)
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue