From 1104311170ee7cf774b324f7f0804abba6a2cb31 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 16 Jul 2001 22:12:06 +0000 Subject: Free things in the right order --- usr.sbin/rpcbind/rpcb_svc_com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/rpcbind') 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); } -- cgit v1.1