diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-03 13:44:14 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:41:00 -0400 |
| commit | 841f77ff043f31889b32de7373c1710b17290181 (patch) | |
| tree | 8e72c338ef6abae13e5b5090fb61a57f86090e03 | |
| parent | 3d3a9dc8a7873f0384492f36a910571da1de142d (diff) | |
zebra: free ctx if we skip replace for NHG PROTO routes
Free the ctx if we decide we dont need to do anything with
this route update.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
| -rw-r--r-- | zebra/zebra_dplane.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index d888ceff2c..76d7d00e4a 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -2388,6 +2388,7 @@ dplane_route_update_internal(struct route_node *rn, NEXTHOP_FLAG_FIB); } + dplane_ctx_free(&ctx); return ZEBRA_DPLANE_REQUEST_SUCCESS; } |
