Commit 10cd6fdc authored by Keith Packard's avatar Keith Packard

Revert "xfree86: workaround crash on close"

This reverts commit 55f552ad.

This appears to cause a crash at init time instead of close.
Reported-by: default avatarKnut Petersen <Knut_Petersen@t-online.de>
Acked-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
parent 1110facd
......@@ -272,7 +272,6 @@ xf86RotateDestroy(xf86CrtcPtr crtc)
ScrnInfoPtr pScrn = crtc->scrn;
ScreenPtr pScreen = pScrn->pScreen;
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
DrawablePtr screenDrawable = &pScreen->root->drawable;
int c;
/* Free memory from rotation */
......@@ -290,7 +289,7 @@ xf86RotateDestroy(xf86CrtcPtr crtc)
/*
* Clean up damage structures when no crtcs are rotated
*/
if (screenDrawable && xf86_config->rotation_damage) {
if (xf86_config->rotation_damage) {
/* Free damage structure */
if (xf86_config->rotation_damage_registered) {
DamageUnregister(&pScreen->root->drawable,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment