On Mon, Apr 2, 2012 at 8:26 AM, Matthieu Herrb wrote:
> The previous version of new_io_handle()  would invalidate all previous
> allocations when realloc moves the base pointer of the ios array.
> Since I cannot figure out where this array is useful, just get rid of
> it, providing sound stable memory allocation.
>
> Fixes vgaHWSaveFonts() in 1.12 xserver on OpenBSD, but other
> sub-systems relaying on pci_io could be affected too.

Tested-by: Tormod Volden <[email protected]>

Great! This also fixes the VBE trouble I reported in
http://lists.x.org/archives/xorg-devel/2012-February/029240.html and
cleaned up a lot of valgrind warnings (which I obviously should have
taken a closer look at).

Cheers,
Tormod
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to