summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ac97.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/ac97.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/ac97.c')
-rw-r--r--sys/dev/ic/ac97.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ac97.c b/sys/dev/ic/ac97.c
index a3f81f9144c..27d4ece9585 100644
--- a/sys/dev/ic/ac97.c
+++ b/sys/dev/ic/ac97.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ac97.c,v 1.77 2011/01/03 15:28:46 fgsch Exp $ */
+/* $OpenBSD: ac97.c,v 1.78 2014/07/12 18:48:17 tedu Exp $ */
/*
* Copyright (c) 1999, 2000 Constantine Sapuntzakis
@@ -818,7 +818,7 @@ ac97_attach(struct ac97_host_if *host_if)
as->host_if = host_if;
if ((error = host_if->attach(host_if->arg, &as->codec_if))) {
- free(as, M_DEVBUF);
+ free(as, M_DEVBUF, 0);
return (error);
}