summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-11-30 10:02:40 -0500
committerMark Stapp <mjs@voltanet.io>2020-11-30 10:02:40 -0500
commita20e6c32a25e3e48c49f91430bd73abaa2e1352e (patch)
tree1e7b5ed66fa09c288ed39af124d6bdbdbb0f57b5 /zebra/zebra_rib.c
parent78695ce3a4d4faf6930f057b55c316b74a7426eb (diff)
zebra: free dplane ctx after pw update
Free the dplane contexts used for pseudowire updates; we were leaking these. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c1
1 files changed, 1 insertions, 0 deletions
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;
}