]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
sm-notify command: getaddrinfo(3) addrinfo leak
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Sep 2008 17:21:43 +0000 (13:21 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 26 Sep 2008 17:21:43 +0000 (13:21 -0400)
Make sure the results of getaddrinfo(3) are properly freed in notify().

Note this is a one-time addrinfo allocation that would be automatically
freed when sm-notify exits anyway, so this is more of a nit than a real
bug fix.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found