diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-01 05:47:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-01 05:47:15 +0000 |
commit | f806db34a783da972794a6ef9eda4590a8b2e776 (patch) | |
tree | 3d2c30168ed3b44bb23b643e9915dfed6fa71439 /sys | |
parent | acddd99ce3b77a0464f1db538df363b90d734242 (diff) |
free() size
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sh/sh/interrupt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/sh/interrupt.c b/sys/arch/sh/sh/interrupt.c index 47274455cc9..5747c9f9e16 100644 --- a/sys/arch/sh/sh/interrupt.c +++ b/sys/arch/sh/sh/interrupt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interrupt.c,v 1.14 2014/07/12 18:44:42 tedu Exp $ */ +/* $OpenBSD: interrupt.c,v 1.15 2015/09/01 05:47:14 deraadt Exp $ */ /* $NetBSD: interrupt.c,v 1.18 2006/01/25 00:02:57 uwe Exp $ */ /*- @@ -654,7 +654,7 @@ softintr_disestablish(void *arg) } mtx_leave(&asi->softintr_lock); - free(sih, M_DEVBUF, 0); + free(sih, M_DEVBUF, sizeof *sih); } /* Schedule a software interrupt. */ |