Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: Free epvn_overlay memory on error #16649

Merged

Conversation

ton31337
Copy link
Member

When parsing EVPN NLRIs, and an error occurred, do no forget to free the memory.

@frrbot frrbot bot added the bgp label Aug 24, 2024
@ton31337 ton31337 force-pushed the fix/free_memory_on_return branch 2 times, most recently from 2a17998 to 7ce9e3e Compare August 24, 2024 08:40
@frrbot frrbot bot added the bugfix label Aug 24, 2024
When parsing EVPN NLRIs, and an error occurred, do no forget to free the memory.

Fixes: 4ace11d ("bgpd: Move evpn_overlay to a pointer")

Signed-off-by: Donatas Abraitis <[email protected]>
@ton31337 ton31337 force-pushed the fix/free_memory_on_return branch from 7ce9e3e to 5eb80ed Compare August 24, 2024 08:59
@github-actions github-actions bot added size/S and removed size/XS labels Aug 24, 2024
@donaldsharp donaldsharp merged commit f85dfb3 into FRRouting:master Aug 24, 2024
11 checks passed
@ton31337 ton31337 deleted the fix/free_memory_on_return branch August 25, 2024 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants