mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:48:50 +00:00
pimd: All paths have already derefed pim->global_scope.bsrp_table
All paths leading to this point in the code have already deref'ed the pim->global_scope.bsrp_table. No point in testing for validness now. This was caught by Coverity. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
adc62ec8b7
commit
4d19a911c5
@ -290,8 +290,7 @@ void pim_bsm_proc_free(struct pim_instance *pim)
|
||||
pim_free_bsgrp_data(bsgrp);
|
||||
}
|
||||
|
||||
if (pim->global_scope.bsrp_table)
|
||||
route_table_finish(pim->global_scope.bsrp_table);
|
||||
route_table_finish(pim->global_scope.bsrp_table);
|
||||
}
|
||||
|
||||
static bool is_hold_time_elapsed(void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user