mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-21 14:06:33 +00:00
Merge pull request #6663 from wesleycoakley/qobj-unreg-fixup
pbrd, lib: remember to free alloc'd qobj elements on delete
This commit is contained in:
commit
d070e6429a
@ -614,6 +614,7 @@ static void nhgc_delete(struct nexthop_group_cmd *nhgc)
|
||||
|
||||
list_delete(&nhgc->nhg_list);
|
||||
|
||||
QOBJ_UNREG(nhgc);
|
||||
XFREE(MTYPE_TMP, nhgc);
|
||||
}
|
||||
|
||||
|
@ -75,6 +75,7 @@ static void pbr_map_sequence_delete(struct pbr_map_sequence *pbrms)
|
||||
{
|
||||
XFREE(MTYPE_TMP, pbrms->internal_nhg_name);
|
||||
|
||||
QOBJ_UNREG(pbrms);
|
||||
XFREE(MTYPE_PBR_MAP_SEQNO, pbrms);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user