]> git.decadent.org.uk Git - nfs-utils.git/commit
showmount: destroy RPC client when finished
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Sep 2008 20:03:27 +0000 (16:03 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 26 Sep 2008 20:03:27 +0000 (16:03 -0400)
commit7de004227d2a95ac10a591a68f95057a242d8dc0
tree884de09b5cf15188d37a9a2e338026a27d348ca1
parenta663cf4c59e9b4fa56d8ca976c582ccf929140d2
showmount: destroy RPC client when finished

Clean up: call clnt_destroy() in the showmount command as needed to
destroy the RPC client properly (and close the associated socket) before
the program exits.

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