From f22bab98186a52f6e7247422ead4332f4c37e0ce Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 10 Jan 2022 10:30:55 +0100 Subject: [PATCH] Babel: fixed interface pool removal --- proto/babel/babel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/babel/babel.c b/proto/babel/babel.c index 515b27e5..e56a6328 100644 --- a/proto/babel/babel.c +++ b/proto/babel/babel.c @@ -1799,7 +1799,7 @@ babel_remove_iface(struct babel_proto *p, struct babel_iface *ifa) rem_node(NODE ifa); - rfree(ifa->pool); /* contains ifa itself, locks, socket, etc */ + rp_free(ifa->pool, p->p.pool); /* contains ifa itself, locks, socket, etc */ } static int