]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Put freeing code in nhg_ctx_free() 5241/head
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 29 Oct 2019 01:39:18 +0000 (21:39 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 12 Nov 2019 15:29:16 +0000 (10:29 -0500)
commit7c6d5f255e87f58d55076382f93868ee165e2448
tree29e93802f429bcf2e94efb23a26bd66c90169395
parent606fa9e58dd5b5b2e6eceb23f80d30a0376eba6a
zebra: Put freeing code in nhg_ctx_free()

Put the code to free the data held by a nhg_ctx
in nhg_ctx_free() as well. We do it similiarly for
the dplane_ctx.

Let nhg_ctx_fini() be any other routines that need to
be handled before freeing.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c