Merge branch 'server-1.5-branch' into xorg-server-1.5-apple

This commit is contained in:
Jeremy Huddleston 2008-09-12 15:16:16 -07:00
commit d96f2c5978
2 changed files with 2 additions and 2 deletions

View file

@ -1338,8 +1338,8 @@ CreatePmap:
}
if (AddResource(stuff->pid, RT_PIXMAP, (pointer)pMap))
return(client->noClientException);
(*pDraw->pScreen->DestroyPixmap)(pMap);
}
(*pDraw->pScreen->DestroyPixmap)(pMap);
return (BadAlloc);
}

View file

@ -1737,7 +1737,7 @@ xf86SetScrnInfoModes (ScrnInfoPtr scrn)
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
xf86OutputPtr output;
xf86CrtcPtr crtc;
DisplayModePtr last, mode;
DisplayModePtr last, mode = NULL;
output = SetCompatOutput(config);