aboutsummaryrefslogtreecommitdiff
path: root/sys/nlm
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2008-11-12 15:30:30 +0000
committerDoug Rabson <dfr@FreeBSD.org>2008-11-12 15:30:30 +0000
commit6f978a84ba9b22498c0536532238a4704a12aaba (patch)
tree427b5500d183b90f06ca36a49fdb8fa58676ec3c /sys/nlm
parenta1e132720b1d0c80b1a70dd7ec66a96465b5f621 (diff)
Notes
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 5141f87d2d9f6..a12cf8b9a28f7 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;
}