mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Fix apparent memory leak (during vchan destruction) that was here
since eon.
This commit is contained in:
parent
438e97c073
commit
e444a20971
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166392
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user