From 9d2af10dbe2a387510d36cecad6959dfc7b98ab4 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 19 Jan 2015 22:58:53 +0000 Subject: [PATCH] never tested with a make release --- sys/kern/subr_autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 7bb3acec49f..772038987ba 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_autoconf.c,v 1.81 2015/01/19 06:27:57 dlg Exp $ */ +/* $OpenBSD: subr_autoconf.c,v 1.82 2015/01/19 22:58:53 deraadt Exp $ */ /* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */ /* @@ -939,6 +939,6 @@ device_unref(struct device *dv) dv->dv_ref--; if (dv->dv_ref == 0) { - free(dv, M_DEVBUF, ca->ca_devsize); + free(dv, M_DEVBUF, 0); } } -- 2.20.1