diff options
Diffstat (limited to 'sys/net/pfkey.c')
-rw-r--r-- | sys/net/pfkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkey.c b/sys/net/pfkey.c index 64425ed7cd5..d4f646a588a 100644 --- a/sys/net/pfkey.c +++ b/sys/net/pfkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkey.c,v 1.22 2014/09/08 06:24:13 jsg Exp $ */ +/* $OpenBSD: pfkey.c,v 1.23 2014/11/23 07:39:02 deraadt Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) 17 January 1995 @@ -218,7 +218,7 @@ pfkey_attach(struct socket *socket, struct mbuf *proto, struct proc *p) return (0); ret: - free(socket->so_pcb, M_PCB, 0); + free(socket->so_pcb, M_PCB, sizeof(struct rawcb)); return (rval); } |