[MPlayer-dev-eng] [PATCH] two memleaks

Adam Tla/lka atlka at pg.gda.pl
Fri Oct 1 14:02:58 CEST 2004


On Fri, Oct 01, 2004 at 02:10:32PM +0300, Jan Knutar wrote:
> On Thursday 30 September 2004 19:08, Reimar Döffinger wrote:
> > Hi,
> > this patch fixes two memleaks that amounted to about 2.3 KB per file 
> > played. But on my system alsalib leaks tons of memory and there seems to 
> > be nothing MPlayer can do about it :-(
> 
> On my system, alsa-lib uses mlock() on its memory too... yay alsa-lib... Sigh.
This has nothing to do with memory leaks.
mlock() just prevents memory swapping, but only in case of root apps.
Probably alsa-lib does not free() allocated memory in some places. ;-(

Regards
-- 
Adam Tla/lka      mailto:atlka at pg.gda.pl    ^v^ ^v^ ^v^
System  & Network Administration Group           ~~~~~~
Computer Center,  Gdansk University of Technology, Poland
PGP public key:   finger atlka at sunrise.pg.gda.pl




More information about the MPlayer-dev-eng mailing list