summaryrefslogtreecommitdiff
path: root/sys/dev/ic/tcic2.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:48:54 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:48:54 +0000
commit9355adab6702f4798111e38a2e7e7be541270937 (patch)
tree1fda49353b276c780d60c7609e331839f2c13505 /sys/dev/ic/tcic2.c
parent48b6cac396e42c57b5037f5a67d6cd7afb1733d6 (diff)
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/dev/ic/tcic2.c')
-rw-r--r--sys/dev/ic/tcic2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/tcic2.c b/sys/dev/ic/tcic2.c
index f04e378055f..52277af36d2 100644
--- a/sys/dev/ic/tcic2.c
+++ b/sys/dev/ic/tcic2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcic2.c,v 1.10 2014/07/08 17:19:25 deraadt Exp $ */
+/* $OpenBSD: tcic2.c,v 1.11 2014/07/12 18:48:17 tedu Exp $ */
/* $NetBSD: tcic2.c,v 1.3 2000/01/13 09:38:17 joda Exp $ */
#undef TCICDEBUG
@@ -499,7 +499,7 @@ tcic_event_thread(arg)
panic("tcic_event_thread: unknown event %d",
pe->pe_type);
}
- free(pe, M_TEMP);
+ free(pe, M_TEMP, 0);
}
h->event_thread = NULL;