]> granicus.if.org Git - libnl/commit
Perform no operation on nl_object_free(NULL).
authorEmmanuel Roullit <emmanuel.roullit@gmail.com>
Wed, 3 Apr 2013 19:07:32 +0000 (21:07 +0200)
committerEmmanuel Roullit <emmanuel.roullit@gmail.com>
Wed, 3 Apr 2013 19:17:33 +0000 (21:17 +0200)
commitea436445ad774179d6b3196e102907272f403da8
tree5c093e8089530c36887102b548823d6c6a70f01e
parent56eb22fa7475843e3f5133dbef5e0e44751dc474
Perform no operation on nl_object_free(NULL).

Passing a NULL pointer would cause a NULL pointer dereference within
nl_object_free().
Returning early on NULL pointer is the behavior free(3) and other
nl*_free() functions.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
lib/object.c