forked from Mirror/frr
Merge pull request #16929 from Jafaral/pim-oil-fix
pimd: fix a possible use after free bug when doing pim trace
This commit is contained in:
commit
f610ca5bc3
|
@ -193,5 +193,5 @@ void tib_sg_gm_prune(struct pim_instance *pim, pim_sgaddr sg,
|
|||
*/
|
||||
pim_ifchannel_local_membership_del(oif, &sg);
|
||||
|
||||
pim_channel_oil_del(*oilp, __func__);
|
||||
*oilp = pim_channel_oil_del(*oilp, __func__);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue