more minor bugs in vm86.c

Jon Smirl <jonsmirl-/[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
This bug is in a couple of places....

if(vi->magicMem != MAP_FAILED) munmap(vi->magicMem, MAGICMEM_SIZE);
if(vi->hole1 != MAP_FAILED) munmap(vi->magicMem, HOLE1_SIZE); <--hole1, not
magicmem
if(vi->loMem != MAP_FAILED) munmap(vi->loMem, LOMEM_SIZE);
if(vi->hole2 != MAP_FAILED) munmap(vi->magicMem, HOLE2_SIZE); <--hole2, not
magicmem
if(vi->hiMem != MAP_FAILED) munmap(vi->hiMem, HIMEM_SIZE);


=====
Jon Smirl
jonsmirl-/[email protected]

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.