[alsa-devel] memory leak in mmap ops

Scott Jiang scott.jiang.linux at gmail.com
Sat Jul 30 05:15:41 CEST 2011


Hi all,

I found there is a memory leak about 128K every time in linux-2.6.34,
but it doesn't exist in linux-3.0.
If I use mmap ops in driver the bug will come out, while use copy ops
no memory leak. This driver is based on asoc.
I tested with aplay to play a wav file.
Because there is a lot of changes in ALSA between 2.6.34 and 3.0, so
can anyone who familiar with the change history tell me which patch
has solved this bug?
Thanks in advance.

Scott


More information about the Alsa-devel mailing list