]> git.proxmox.com Git - mirror_frr.git/commit
zebra: XFREE ns->info directly to NULL it out
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 14 Nov 2019 22:16:56 +0000 (17:16 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 15 Nov 2019 17:33:35 +0000 (12:33 -0500)
commitfd4c24f5e38bb686d86f0f7b3d8f48bcde7c67f7
tree0985c4da48d5750340e6fee631f850b90011e990
parent257b245cd13e3d836093e8fb5c704d90ef978660
zebra: XFREE ns->info directly to NULL it out

We should be setting the ns->info pointer to NULL when we free
what it points to. Just use XFREE directly on the void * pointer
to do this.

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