mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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> |
||
|---|---|---|
| .. | ||
| 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 | ||