]> git.puffer.fish Git - matthieu/frr.git/commit
vtysh: Cleanup memory leak
authorDonald Sharp <sharpd@nvidia.com>
Sat, 3 Dec 2022 12:16:36 +0000 (07:16 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 5 Dec 2022 13:50:24 +0000 (08:50 -0500)
commitab914252662209d1218c709d2efbf630962f930c
tree1177ba2ec91c74432993fbf2e232e25e593fc1da
parentc2270bf19debfe3f5c5863a210db1f81f38f50d7
vtysh: Cleanup memory leak

When multiple daemons report a exit line for the same
node, vtysh was just dropping the previous pointer.
Ensure that we free it first.

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