diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-06 17:43:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-06 17:43:43 +0000 |
commit | c1d8bafef9608a37db0eb32708e939d2f56baa4f (patch) | |
tree | 508e4728f6d81fcadee6b5228968555396d08cc3 /sys | |
parent | 9bfc06972f9f853bfd0f5b4961be76f7acdc2174 (diff) |
size for free()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/powerpc/powerpc/softintr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/powerpc/softintr.c b/sys/arch/powerpc/powerpc/softintr.c index 6f5f92acfc5..5b40afc07fd 100644 --- a/sys/arch/powerpc/powerpc/softintr.c +++ b/sys/arch/powerpc/powerpc/softintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softintr.c,v 1.7 2015/01/04 13:01:42 mpi Exp $ */ +/* $OpenBSD: softintr.c,v 1.8 2015/09/06 17:43:42 deraadt Exp $ */ /* $NetBSD: softintr.c,v 1.2 2003/07/15 00:24:39 lukem Exp $ */ /* @@ -152,7 +152,7 @@ softintr_disestablish(void *arg) } mtx_leave(&siq->siq_mtx); - free(sih, M_DEVBUF, 0); + free(sih, M_DEVBUF, sizeof *sih); } /* |