On Sat, 2013-02-16 at 16:12 +0100, Thomas Martitz wrote: > Am 15.02.2013 23:08, schrieb Tanu Kaskinen: > > On Fri, 2013-02-15 at 13:42 +0100, David Henningsson wrote: > >> + snd_ctl_elem_id_alloca(&id); > > This allocates memory, right? It's never freed. > > > > alloca()-related functions allocate on the stack which is automatically > freed when the function returns. The memory needn't be freed manually. Thanks for educating :) -- Tanu