summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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