From: Roy Marples Date: Mon, 22 Jun 2026 23:34:58 +0000 (+0100) Subject: IPv6ND: Free routeinfo when it expires (#670) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=708b4a56bae080a5b18c2e0c4c6fbe103131a2b0;p=thirdparty%2Fdhcpcd.git IPv6ND: Free routeinfo when it expires (#670) Reported-by: CuB3y0nd --- diff --git a/src/ipv6nd.c b/src/ipv6nd.c index f2c8c207..2d45b8e9 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -1814,6 +1814,7 @@ ipv6nd_expirera(void *arg) logwarnx("%s: expired route %s", rap->iface->name, rinfo->sprefix); TAILQ_REMOVE(&rap->rinfos, rinfo, next); + free(rinfo); } }