summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-09-28 12:10:31 -0400
committerChristian Hopps <chopps@labn.net>2023-09-29 01:19:53 -0400
commit53511f252d68834dd8d9285332d0090ca2383562 (patch)
treec8ae1bb517405f954ce65b2e1b2519fb2887ad86 /lib/routemap_cli.c
parent8640fc9c0a5e6118fe878970169b38ddc00e8390 (diff)
lib: use XREALLOC over realloc avoid coverity warning
I believe coverity is complaining that the current code does not handle the realloc fail case, in which case the original pointer is not freed, but NULL is returned. The code assert()s it's not failed but that is not strong enough it needs to abort which XREALLOC does and is a better integration into FRR-inrfa anyway. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions