summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind/rpcb_svc_com.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpcbind/rpcb_svc_com.c')
-rw-r--r--usr.sbin/rpcbind/rpcb_svc_com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c
index c4a3c56..eeded61 100644
--- a/usr.sbin/rpcbind/rpcb_svc_com.c
+++ b/usr.sbin/rpcbind/rpcb_svc_com.c
@@ -1069,8 +1069,8 @@ netbufdup(struct netbuf *ap)
static void
netbuffree(struct netbuf *ap)
{
- free(ap);
free(ap->buf);
+ free(ap);
}
OpenPOWER on IntegriCloud