]> git.proxmox.com Git - mirror_frr.git/commit - lib/clippy.c
lib: Free memory leak in error path in clippy
authorDonald Sharp <sharpd@nvidia.com>
Sat, 20 Feb 2021 12:38:06 +0000 (07:38 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 20 Feb 2021 12:40:01 +0000 (07:40 -0500)
commitf52aee04b3839b5c2bcfb2a5114b698e39925df2
tree93528d7fa4c9de298186a852c258d122ceb429b6
parent1c0f3e760a43000880897e05b904e4bf0c117e76
lib: Free memory leak in error path in clippy

When running clippy, the main function in it's
error path could leak the memory pointed to by name.
Fix this.  This was/is reported by clang SA.

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