[alsa-devel] Salsa-lib memleak

Matthieu CASTET matthieu.castet at parrot.com
Tue Feb 5 11:22:30 CET 2008


Hi,

it seems Salsa-lib leak memory in case of errors.
For snd_pcm_open, snd_pcm_t is allocated, but not free in case of
snd_pcm_hw_mmap_status error.

The same things happen in _snd_pcm_mmap, there error return in middle of the
code, without freeing the allocated memory.


Thanks

Matthieu



More information about the Alsa-devel mailing list