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

zebra: On shutdown, free up srv6 list data #14996

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

donaldsharp
Copy link
Member

No description provided.

@donaldsharp
Copy link
Member Author

@Mergifyio backport stable/9.1 stable/9.0

Copy link

mergify bot commented Dec 12, 2023

backport stable/9.1 stable/9.0

✅ Backports have been created

The adata variable was being leaked on shutdown since
it was calloc'ed.  There is no need to make this dynamic
memory.  Just choose a size and use that.  Add a bit
of code to ensure that if it's not large enough,
it will just stop and the developer will fix it.

Signed-off-by: Donald Sharp <[email protected]>
@github-actions github-actions bot added size/M and removed size/S labels Dec 12, 2023
@ton31337 ton31337 merged commit 5bdf2e5 into FRRouting:master Dec 14, 2023
8 checks passed
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