]> git.decadent.org.uk Git - nfs-utils.git/commit
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)
commite36a9e8af8bba0ff661da3c8dc0656bfe9952767
tree7335a76833e279d3d0ddadb89631cc595618bc81
parent37130ec4041bd703d706207d77b4398ea252be5a
sm-notify command: getaddrinfo(3) addrinfo leak

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>
utils/statd/sm-notify.c