diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c index c4a3c5660d17..eeded613d671 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); }