Merge pull request #14356 from Keelan10/ospf_external_aggregator-leak

ospfd: Fix External Aggregator Leak
This commit is contained in:
Russ White 2023-09-26 10:18:08 -04:00 committed by GitHub
commit dbd08a31cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -987,6 +987,7 @@ static void ospf_handle_external_aggr_update(struct ospf *ospf)
&aggr->match_extnl_hash, &aggr->match_extnl_hash,
(void *)ospf_aggr_handle_external_info); (void *)ospf_aggr_handle_external_info);
ospf_external_aggregator_free(aggr);
} else if (aggr->action == OSPF_ROUTE_AGGR_MODIFY) { } else if (aggr->action == OSPF_ROUTE_AGGR_MODIFY) {
aggr->action = OSPF_ROUTE_AGGR_NONE; aggr->action = OSPF_ROUTE_AGGR_NONE;