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. ------------------------------------------------------------------------------ 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