Skip to content

zebra: Fix memory leak when SRv6 dynamic SID allocation fails (backport #20445)#20448

Merged
Jafaral merged 1 commit intostable/10.5from
mergify/bp/stable/10.5/pr-20445
Jan 12, 2026
Merged

zebra: Fix memory leak when SRv6 dynamic SID allocation fails (backport #20445)#20448
Jafaral merged 1 commit intostable/10.5from
mergify/bp/stable/10.5/pr-20445

Conversation

@mergify
Copy link

@mergify mergify bot commented Jan 12, 2026

Ensure that the zebra_srv6_sid_ctx object is properly freed if zebra_srv6_sid_alloc fails, to prevent memory leaks in the SRv6 dynamic SID allocation code path.


This is an automatic backport of pull request #20445 done by Mergify.

Ensure that the zebra_srv6_sid_ctx object is properly freed if
zebra_srv6_sid_alloc fails, to prevent memory leaks in the SRv6
dynamic SID allocation code path.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit f87d127)
@frrbot frrbot bot added the zebra label Jan 12, 2026
@Jafaral Jafaral merged commit 7737092 into stable/10.5 Jan 12, 2026
21 checks passed
@Jafaral Jafaral deleted the mergify/bp/stable/10.5/pr-20445 branch January 27, 2026 16:55
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