summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-16 22:12:06 +0000
committerbrian <brian@FreeBSD.org>2001-07-16 22:12:06 +0000
commit1104311170ee7cf774b324f7f0804abba6a2cb31 (patch)
treeecc5dda8e4a88662f4d69321df5283ec2730b6fc /usr.sbin/rpcbind
parente33681570dd637d7f3755a8a7f277bba25eeb219 (diff)
downloadFreeBSD-src-1104311170ee7cf774b324f7f0804abba6a2cb31.zip
FreeBSD-src-1104311170ee7cf774b324f7f0804abba6a2cb31.tar.gz
Free things in the right order
Diffstat (limited to 'usr.sbin/rpcbind')
-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