]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Prevent memory leak if route is rejected early
authorDonald Sharp <sharpd@nvidia.com>
Fri, 6 Aug 2021 20:00:32 +0000 (16:00 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 9 Aug 2021 11:55:07 +0000 (07:55 -0400)
commitf94a7703c0725766f7dd91931718d3869ed28116
treee671523bf41b52058aafbf5654254f4abd863919
parentd04e7788c19e39de207ef2ea0f63f0d31702aa76
zebra: Prevent memory leak if route is rejected early

When receiving a route via zapi, if the route is rejected
there exists a code path where we would not free the corresponding
re created.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zapi_msg.c