From: deraadt Date: Mon, 19 Jan 2015 22:58:53 +0000 (+0000) Subject: never tested with a make release X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9d2af10dbe2a387510d36cecad6959dfc7b98ab4;p=openbsd never tested with a make release --- 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); } }