From a20e6c32a25e3e48c49f91430bd73abaa2e1352e Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Mon, 30 Nov 2020 10:02:40 -0500 Subject: [PATCH] zebra: free dplane ctx after pw update Free the dplane contexts used for pseudowire updates; we were leaking these. Signed-off-by: Mark Stapp --- zebra/zebra_rib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 569b23573c..88f6ec2634 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -3728,6 +3728,7 @@ static int handle_pw_result(struct zebra_dplane_ctx *ctx) } done: + dplane_ctx_fini(&ctx); return 0; }