summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_chaos.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-19 10:51:58 -0500
committerDonald Sharp <sharpd@nvidia.com>2022-12-20 08:45:51 -0500
commitf9f19fef9d46fe0f1b8d23bc45a5f45ec164ff94 (patch)
tree65a825ef676e4867809404dc34fc25667548d8db /tests/topotests/ospf_basic_functionality/test_ospf_chaos.py
parentf147ca860b3ab5bd2d1da1609cc90cb69eccd6a8 (diff)
ospfd: Fix some json mem leaks and some issues
a) if show_function happened to be NULL we would leak json memory b) json_lsa_type was being allocated but only used in the default case, leaking memory c) json output would sometimes produce text output and that is incorrect Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_chaos.py')
0 files changed, 0 insertions, 0 deletions