[MPlayer-dev-eng] [PATCH] mga_vid memleak fix

D Richard Felker III dalias at aerifal.cx
Sun Feb 3 18:38:17 CET 2002


On Sun, Feb 03, 2002 at 05:16:01PM +0100, Attila Kinali wrote:
> Hi,
> 
> As nobody else did it, here a patch to fix the memleak in mga_vid.

would anyone object if we also patched mga_vid to skip using the very
end of video memory, and instead locate its buffers a bit lower? the
kernel stores its console font at the very end of memory (at least
with the fastfont flag enabled in matroxfb), so the font gets trashed
when mga_vid writes that region.

i've already patched my copy, but i've probably skipped too much
memory -- i don't know exactly how much matroxfb needs for the font.
is it ok to lose say 16k or so to ensure that we stay a plenty far
away even when there's a fairly large font?

rich




More information about the MPlayer-dev-eng mailing list