]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Fix memory leaks w/ `show ip ospf int X json` commands 13442/head
authorDonald Sharp <sharpd@nvidia.com>
Thu, 4 May 2023 16:53:42 +0000 (12:53 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 5 May 2023 12:14:57 +0000 (12:14 +0000)
commitb4398a19d236de94f3c1dff485cce6cc7fa5f905
treed58a93bf8246129a29b0d8db7943642b604eca3c
parent054609843c38560e51b62f8bf1705a28ad59296e
ospfd: Fix memory leaks w/ `show ip ospf int X json` commands

FRR has a memory leak in the case when int X does not
exist and a memory leak when int X does exist.  Fix
these

Fixes: #13434
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit 74e21732db129f7287d5ab227e45f305c5dbf34e)
ospfd/ospf_vty.c