From 9355adab6702f4798111e38a2e7e7be541270937 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 12 Jul 2014 18:48:54 +0000 Subject: add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis. --- sys/dev/ic/cac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/cac.c') diff --git a/sys/dev/ic/cac.c b/sys/dev/ic/cac.c index d19899b87bc..2d90a355848 100644 --- a/sys/dev/ic/cac.c +++ b/sys/dev/ic/cac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac.c,v 1.50 2013/05/30 16:15:02 deraadt Exp $ */ +/* $OpenBSD: cac.c,v 1.51 2014/07/12 18:48:17 tedu Exp $ */ /* $NetBSD: cac.c,v 1.15 2000/11/08 19:20:35 ad Exp $ */ /* @@ -943,7 +943,7 @@ cac_create_sensors(struct cac_softc *sc) return (0); bad: - free(sc->sc_sensors, M_DEVBUF); + free(sc->sc_sensors, M_DEVBUF, 0); return (1); } -- cgit v1.2.3