shithub: cstory

Download patch

ref: 17f7f66fc9531e5e31f4886003ed014579c60231
parent: ffc6e3e75b6938ec388baebff31d183348ff9fe3
author: Gabriel Ravier <gabravier@gmail.com>
date: Tue Nov 5 12:23:12 EST 2019

Documentation : Comment an always true expression

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/Sound.cpp
+++ b/src/Sound.cpp
@@ -368,10 +368,10 @@
 	{
 		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;