diff options
author | Steve Dickson <steved@redhat.com> | 2017-05-17 10:52:25 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-05-17 10:52:25 -0400 |
commit | c49a7ea639eb700823e174fd605bbbe183e229aa (patch) | |
tree | eca55b45cb77c066c0ed04215b8747dd3f94af49 | |
parent | 7ea36eeece56b59f98e469934e4c20b4da043346 (diff) | |
download | rpcbind-c49a7ea639eb700823e174fd605bbbe183e229aa.tar.gz |
pmapproc_dump: Fixed typo in memory leak patch
commit 7ea36eee introduce a typo that caused
NIS (aka ypbind) to fail.
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | src/pmap_svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pmap_svc.c b/src/pmap_svc.c index e926cdc..26c31d0 100644 --- a/src/pmap_svc.c +++ b/src/pmap_svc.c @@ -384,7 +384,7 @@ pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt) } done: - if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)NULL)) { + if (!svc_freeargs(xprt, (xdrproc_t) xdr_void, (char *)NULL)) { if (debugging) { (void) xlog(LOG_DEBUG, "unable to free arguments\n"); if (doabort) { |