mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-02 17:59:34 +00:00
Merge pull request #14550 from Keelan10/fix-nexthop_group-leak
zebra: Free nexthop_group
This commit is contained in:
commit
078bef324c
@ -682,6 +682,7 @@ int zebra_add_import_table_entry(struct zebra_vrf *zvrf, struct route_node *rn,
|
||||
copy_nexthops(&ng->nexthop, re->nhe->nhg.nexthop, NULL);
|
||||
|
||||
rib_add_multipath(afi, SAFI_UNICAST, &p, NULL, newre, ng, false);
|
||||
nexthop_group_delete(&ng);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user