diff options
author | ariff <ariff@FreeBSD.org> | 2007-02-01 09:30:01 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-02-01 09:30:01 +0000 |
commit | f763a443cd487389b72898bd4b6bc2f9631efa68 (patch) | |
tree | eec76dce19b46a4210252b2ad4810113a5c897fe /sys/dev/sound | |
parent | fb2efa60c39bd6fe28856149967ea4752437a2ea (diff) | |
download | FreeBSD-src-f763a443cd487389b72898bd4b6bc2f9631efa68.zip FreeBSD-src-f763a443cd487389b72898bd4b6bc2f9631efa68.tar.gz |
Fix apparent memory leak (during vchan destruction) that was here
since eon.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pcm/vchan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c index b210dca..eb7e16c 100644 --- a/sys/dev/sound/pcm/vchan.c +++ b/sys/dev/sound/pcm/vchan.c @@ -334,6 +334,7 @@ vchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, static int vchan_free(kobj_t obj, void *data) { + free(data, M_DEVBUF); return 0; } |