[PATCH 3/3] netconfig: free slaac_domains/slaac_dnses
James Prestwood <[email protected]> Fri, 31 May 2024 07:55:54 -0700
| Newsgroups | dev.linux.lists.ell |
|---|---|
| Message-ID | <[email protected]> |
Neither of these queues were freed upon freeing the netconfig object --- ell/netconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ell/netconfig.c b/ell/netconfig.c index 06a717f..9cebdc3 100644 --- a/ell/netconfig.c +++ b/ell/netconfig.c @@ -1410,6 +1410,8 @@ LIB_EXPORT void l_netconfig_destroy(struct l_netconfig *netconfig) l_queue_destroy(netconfig->routes.updated, NULL); l_queue_destroy(netconfig->routes.removed, NULL); l_queue_destroy(netconfig->icmp_route_data, NULL); + l_queue_destroy(netconfig->slaac_domains, NULL); + l_queue_destroy(netconfig->slaac_dnses, NULL); l_free(netconfig); } -- 2.34.1