summaryrefslogtreecommitdiff
path: root/tests/topotests/ospfapi/test_ospf_clientapi.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-05-05 11:05:12 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-05-09 12:38:58 +0000
commita49643612006672a03de4c0b13fa4298dc3f58de (patch)
tree690817e68be6eeabe93a357ce9edafa14ab0307c /tests/topotests/ospfapi/test_ospf_clientapi.py
parentcc0a43da5a1a4e87964dbe08ca07bac34a2ffa7b (diff)
zebra: Reduce creation and fix memory leak of frrscripting pointers
There are two issues being addressed: a) The ZEBRA_ON_RIB_PROCESS_HOOK_CALL script point was creating a fs pointer per dplane ctx in rib_process_dplane_results(). b) The fs pointer was not being deleted and directly leaked. For (a) Move the creation of the fs to outside the do while loop. For (b) At function end ensure that the pointer is actually deleted. Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit d8be1399720ca36485b6a2209b143679b01b83cb)
Diffstat (limited to 'tests/topotests/ospfapi/test_ospf_clientapi.py')
0 files changed, 0 insertions, 0 deletions