[PATCH] do not check for NULL before calling free

Dimitri Stolnikov horiz0n at gmx.net
Sun Jan 10 21:52:06 UTC 2016


Hi Jiri, thanks for the patch, i've applied it without the  
"find_package(Gnuradio 3.8 REQUIRED)" line.

Best regards,
Dimitri


On Sun, 04 Oct 2015 15:02:48 +0200, P <j-pi at seznam.cz> wrote:

> Checking if variable is not NULL before calling free() is not effective,
> because free() already does this.
>
>   - waste instruction and/or compiler time
>   - more lines of code than necessary
>
>
> This patch removes those checks.



More information about the osmocom-sdr mailing list