diff options
author | Rajasekar Raja <rajasekarr@nvidia.com> | 2023-10-09 18:54:54 +0200 |
---|---|---|
committer | Rajasekar Raja <rajasekarr@nvidia.com> | 2023-10-09 19:09:57 +0200 |
commit | 11b987ed2f7d85fa3a6e2c05add3ab7f34834ba5 (patch) | |
tree | cea9f6f55216ba1bef353bdca3d8ec2a08e4e687 /lib/mgmt_be_client.c | |
parent | Merge pull request #14543 from mjstapp/fix_pbr_rule_unique (diff) | |
download | frr-11b987ed2f7d85fa3a6e2c05add3ab7f34834ba5.tar.xz frr-11b987ed2f7d85fa3a6e2c05add3ab7f34834ba5.zip |
zebra: Prevent leaking ctx memory in err condition
When netlink_link_change() errors out for a new link for
interface without MTU set, the allocated ctx is not freed..
Adding code for correctness
Ticket# 3628313
Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
Diffstat (limited to 'lib/mgmt_be_client.c')
0 files changed, 0 insertions, 0 deletions