mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
drmUnmap correct size
This commit is contained in:
parent
b41c025420
commit
f98b9853e1
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ viaInitDriver(__DRIscreenPrivate *sPriv)
|
|||
gDRIPriv->agp.handle,
|
||||
gDRIPriv->agp.size,
|
||||
(drmAddress *)&viaScreen->agpLinearStart) != 0) {
|
||||
drmUnmap(viaScreen->reg, gDRIPriv->agp.size);
|
||||
drmUnmap(viaScreen->reg, gDRIPriv->regs.size);
|
||||
FREE(viaScreen);
|
||||
sPriv->private = NULL;
|
||||
__driUtilMessage("viaInitDriver: drmMap agp failed");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue