summaryrefslogtreecommitdiff
path: root/doc/developer/building-frr-for-netbsd7.rst
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-12-12 13:29:47 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-12-12 13:29:47 -0500
commit8fcacf680389778e29acf68adbec9a7021217a22 (patch)
treed96af678a6af2afc320784a59269dc6ed6de0fbc /doc/developer/building-frr-for-netbsd7.rst
parent9393d36690ccfff3904597eac76be59567651424 (diff)
zebra: Don't leak memory in rtadv.c code on shutdown
The adata variable was being leaked on shutdown since it was calloc'ed. There is no need to make this dynamic memory. Just choose a size and use that. Add a bit of code to ensure that if it's not large enough, it will just stop and the developer will fix it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'doc/developer/building-frr-for-netbsd7.rst')
0 files changed, 0 insertions, 0 deletions