On 12/23/2014 12:02 AM, Cedric Roux wrote: > On 12/22/2014 11:14 PM, Eric Wong wrote: >> ...otherwise, free may be called on an uninitialized value: >> >>> + if (re_average) { >>> + free(re_average); >>> + } > > Just for you information, > if a pointer is null free(p) is fine and does nothing. > The "if" is not required.
Thanks. Could the person implementing or applying the patch take this into account? Question for another unrelated patch, is non-linear interpolation available in SoX via the C libraries which are already included? > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > SoX-devel mailing list > SoX-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-devel > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel