]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: free dplane ctx after pw update 7631/head
authorMark Stapp <mjs@voltanet.io>
Mon, 30 Nov 2020 15:02:40 +0000 (10:02 -0500)
committerMark Stapp <mjs@voltanet.io>
Mon, 30 Nov 2020 15:02:40 +0000 (10:02 -0500)
Free the dplane contexts used for pseudowire updates; we were
leaking these.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_rib.c

index 569b23573c9297cce90e30a6ab6a9c9fef525702..88f6ec2634f238326d6373ca0217a95f85bf5fbf 100644 (file)
@@ -3728,6 +3728,7 @@ static int handle_pw_result(struct zebra_dplane_ctx *ctx)
        }
 
 done:
+       dplane_ctx_fini(&ctx);
 
        return 0;
 }