Documentation : Comment an always true expression

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-11-05 17:23:12 +01:00
parent ffc6e3e75b
commit 17f7f66fc9

View file

@ -368,10 +368,10 @@ int MakePixToneObject(const PIXTONEPARAMETER *ptp, int ptp_num, int no)
{
if (!MakePixelWaveData(ptp_pointer, pcm_buffer))
{
if (pcm_buffer != NULL)
if (pcm_buffer != NULL) // This is always true
free(pcm_buffer);
if (mixed_pcm_buffer != NULL)
if (mixed_pcm_buffer != NULL) // This is always true
free(mixed_pcm_buffer);
return -1;