Thread (7 messages) flat view 7 messages, 2 authors, 2024-02-19

Re: [PATCH net 3/3] tools: ynl: don't leak mcast_groups on init error

From: Nicolas Dichtel <hidden>
Date: 2024-02-19 17:19:18

Le 17/02/2024 à 01:17, Jakub Kicinski a écrit :
Make sure to free the already-parsed mcast_groups if
we don't get an ack from the kernel when reading family info.
This is part of the ynl_sock_create() error path, so we won't
get a call to ynl_sock_destroy() to free them later.

Fixes: 86878f14d71a ("tools: ynl: user space helpers")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Nicolas Dichtel <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help