Merge pull request #11929 from opensourcerouting/fix/memory_leaks

bgpd: Fix memory leak for `set as-path replace` route-map command
This commit is contained in:
Donald Sharp 2022-09-12 09:56:01 -04:00 committed by GitHub
commit d31bf91e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2270,6 +2270,8 @@ route_set_aspath_replace(void *rule, const struct prefix *dummy, void *object)
aspath_new, replace_asn, own_asn);
}
aspath_free(aspath_new);
return RMAP_OKAY;
}