[PATCH] msg: Remove unnecessary call of nlmsg_free on known NULL pointer
Thomas Graf
tgraf at suug.ch
Mon Jun 2 05:14:08 PDT 2014
On 05/30/14 at 04:10pm, Tobias Klauser wrote:
> In nlmsg_convert, if __nlmsg_alloc fails we can return NULL directly
> instead of unnecessarilyunnecessarily calling nlmsg_free on the NULL pointer.
^^^^^^^^^^^^^^^^
@Thomas: Can you fix the above while commiting?
>
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
Acked-by: Thomas Graf <tgraf at suug.ch>
More information about the libnl
mailing list