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

lib: fix memory leak when disabling nexthop_hold contexts #15089

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

pguibert6WIND
Copy link
Member

A memory leak is detected when stopping the sharpd daemon with a nexthop group configuration that includes nexthops.

The nexthop_hold structure and its attributes are not freed. Fix it by adding the missing free function.

Fixes: 98cbbae ("lib: Handle if up/down and vrf enable/disable events")

A memory leak is detected when stopping the sharpd daemon
with a nexthop group configuration that includes nexthops.

The nexthop_hold structure and its attributes are not
freed. Fix it by adding the missing free function.

Fixes: 98cbbae ("lib: Handle if up/down and vrf enable/disable events")
Signed-off-by: Philippe Guibert <[email protected]>
@donaldsharp donaldsharp merged commit 96067c7 into FRRouting:master Jan 5, 2024
9 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