summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-05-05 11:05:12 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-05-05 12:24:02 -0400
commitd8be1399720ca36485b6a2209b143679b01b83cb (patch)
tree508592d08bdac245a6dd07ab1153dbfbfc85f17c /ospfd/ospf_interface.c
parent4ead6555c9ed47d6e512512b4a1989830be90d94 (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>
Diffstat (limited to 'ospfd/ospf_interface.c')
0 files changed, 0 insertions, 0 deletions