nuttx/net/netlink
zhanghongyu c6c7cf6bba net/netlink: fix memory leak in netlink_get_neighbor
Add kmm_free(alloc) before returning NULL when neigh is NULL in
netlink_get_neighbor(). Without this, the allocated memory is
leaked on the error path.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-13 08:46:57 -03:00
..
CMakeLists.txt
Kconfig
Make.defs
netlink.h
netlink_attr.c
netlink_conn.c
netlink_netfilter.c
netlink_notifier.c
netlink_route.c
netlink_sockif.c