]> git.puffer.fish Git - mirror/frr.git/commit
zebra: The dplane_fpm_nl return path leaks memory 14989/head
authorDonald Sharp <sharpd@nvidia.com>
Mon, 11 Dec 2023 18:41:36 +0000 (13:41 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 12 Dec 2023 06:45:35 +0000 (06:45 +0000)
commitd855c7aaabfdf0eb122bce1263668752d4c50db4
tree259bfa78948d1d02bdb93e87445becd1458143db
parent93f0a72b966639f57fe18580e1cef5bcab0dd02d
zebra: The dplane_fpm_nl return path leaks memory

The route entry created when using a ctx to pass route
entry data backup to the master pthread in zebra is
being leaked.  Prevent this from happening.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit 7f9c5c7fa2d927033549a806fd9025a9459f22bc)
zebra/rib.h
zebra/rt_netlink.c
zebra/zebra_rib.c