]> granicus.if.org Git - psmisc/commit
fuser: free local port before return
authorCraig Small <csmall@dropbear.xyz>
Mon, 2 Mar 2020 11:16:26 +0000 (22:16 +1100)
committerCraig Small <csmall@dropbear.xyz>
Mon, 2 Mar 2020 11:16:26 +0000 (22:16 +1100)
commit1ab3e9950f4c9cf749802a36e01249dde8e10c3b
treed6bab4e0f3faee23142401a4497e765262c1d9f9
parentedad7cd77c5b95db2f7fe4e3678e7444a1bcc399
fuser: free local port before return

parse_inet allocated a string using strdup() but didn't always
release it.

References:
 Coverity #14401
src/fuser.c