summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2002-01-25 02:36:22 +0000
committercg <cg@FreeBSD.org>2002-01-25 02:36:22 +0000
commitc7b097b8468df650c77552ad8e53fbde10a1fa1e (patch)
treef3a44dfe97652e06674f3ed1e766a0e0c2dd7477
parente1e10af6b7defe0ef41501e760e967b72106de5e (diff)
downloadFreeBSD-src-c7b097b8468df650c77552ad8e53fbde10a1fa1e.zip
FreeBSD-src-c7b097b8468df650c77552ad8e53fbde10a1fa1e.tar.gz
cosmetic change, free b instead of c->bufhard for consistency within
chn_kill()
-rw-r--r--sys/dev/sound/pcm/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index 05529ea..df18261 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -751,7 +751,7 @@ chn_kill(struct pcm_channel *c)
chn_trigger(c, PCMTRIG_ABORT);
while (chn_removefeeder(c) == 0);
if (CHANNEL_FREE(c->methods, c->devinfo))
- sndbuf_free(c->bufhard);
+ sndbuf_free(b);
c->flags |= CHN_F_DEAD;
sndbuf_destroy(bs);
sndbuf_destroy(b);
OpenPOWER on IntegriCloud