aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/glxext.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-23 21:51:58 -0400
committerKristian Høgsberg <[email protected]>2010-07-23 22:05:53 -0400
commit6739d52fdced53a566188215d204ffef1e85a5e6 (patch)
tree9de827c20f236b864aa9b28dbda27b9c30c91b79 /src/glx/glxext.c
parent6393a33944ec9983426cecd5f6c9f05ac089e1ae (diff)
glx: Fix use after free case when destroying screens
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r--src/glx/glxext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index f9a5f7ce5d7..eadc792b917 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -229,7 +229,6 @@ FreeScreenConfigs(__GLXdisplayPrivate * priv)
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
if (psc->driScreen) {
psc->driScreen->destroyScreen(psc);
- psc->driScreen = NULL;
} else {
Xfree(psc);
}