diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-02 13:53:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-02 13:53:56 +0000 |
commit | a9d37948206ac1bf1219b9cfb71335ad35a9d84c (patch) | |
tree | 0f49c036268aa49b3ab76589773ac2927c3dc8d7 /sys/arch/mips64 | |
parent | e74a26037cc3b7d7f463f5c62ab579197fb58136 (diff) |
simple size for free()
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/mips64/softintr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/softintr.c b/sys/arch/mips64/mips64/softintr.c index df600f1ef82..d0607097a85 100644 --- a/sys/arch/mips64/mips64/softintr.c +++ b/sys/arch/mips64/mips64/softintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softintr.c,v 1.18 2014/09/30 06:51:58 jmatthew Exp $ */ +/* $OpenBSD: softintr.c,v 1.19 2015/09/02 13:53:55 deraadt Exp $ */ /* $NetBSD: softintr.c,v 1.2 2003/07/15 00:24:39 lukem Exp $ */ /* @@ -153,7 +153,7 @@ softintr_disestablish(void *arg) } mtx_leave(&siq->siq_mtx); - free(sih, M_DEVBUF, 0); + free(sih, M_DEVBUF, sizeof *sih); } /* |