Merge pull request #7105 from AnuradhaKaruppiah/l3vni-ecom-leak

bgpd: fix ecom leak handling l3vni update
This commit is contained in:
Rafael Zalamena 2020-09-16 07:34:09 -03:00 committed by GitHub
commit d36d37a4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,6 +519,8 @@ static void form_auto_rt(struct bgp *bgp, vni_t vni, struct list *rtl)
if (!ecom_found)
listnode_add_sort(rtl, ecomadd);
else
ecommunity_free(&ecomadd);
}
/*