[PATCH 2/9] lib: reorder free() after printf("%p") statements

Thomas Graf tgraf at suug.ch
Tue Jun 10 10:06:12 PDT 2014


On 06/10/14 at 06:59pm, Thomas Haller wrote:
> Previously coverity was complaining about a use-after-free.
> This was not a real problem, because the printf statement
> does not dereferenciate the pointer. Change it to avoid
> the warning.
> 
> Signed-off-by: Thomas Haller <thaller at redhat.com>

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the libnl mailing list