summaryrefslogtreecommitdiffstats
path: root/sys/nlm
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-11-12 15:30:30 +0000
committerdfr <dfr@FreeBSD.org>2008-11-12 15:30:30 +0000
commit3eaf49ad476a41ef71272194b64f65521cb58f80 (patch)
tree427b5500d183b90f06ca36a49fdb8fa58676ec3c /sys/nlm
parentab49c2ef11513284eca1292db8a0a017c0b796ed (diff)
downloadFreeBSD-src-3eaf49ad476a41ef71272194b64f65521cb58f80.zip
FreeBSD-src-3eaf49ad476a41ef71272194b64f65521cb58f80.tar.gz
Don't call svc_freereq() before svc_freeargs().
Diffstat (limited to 'sys/nlm')
-rw-r--r--sys/nlm/nlm_prot_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nlm/nlm_prot_svc.c b/sys/nlm/nlm_prot_svc.c
index 5141f87..a12cf8b 100644
--- a/sys/nlm/nlm_prot_svc.c
+++ b/sys/nlm/nlm_prot_svc.c
@@ -83,11 +83,11 @@ nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp)
if (retval > 0 && !svc_sendreply(rqstp, xdr_result, (char *)&result)) {
svcerr_systemerr(rqstp);
}
- svc_freereq(rqstp);
if (!svc_freeargs(rqstp, xdr_argument, (char *)(caddr_t) &argument)) {
printf("unable to free arguments");
//exit(1);
}
+ svc_freereq(rqstp);
return;
}
OpenPOWER on IntegriCloud