]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Free memory leak in error path in clippy
authorMark Stapp <mjs@voltanet.io>
Fri, 26 Feb 2021 16:21:04 +0000 (11:21 -0500)
committerMark Stapp <mjs@voltanet.io>
Fri, 26 Feb 2021 16:21:04 +0000 (11:21 -0500)
commit58911c6eddcd1902569f04e37ec5b4c314e72a2f
tree8b8aec5c5572b584ad560a80eb9f6533860a10d5
parent556dfd2117e20f15944fe89921e4c2f81a8ec225
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