diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-23 21:51:58 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-23 22:05:53 -0400 |
commit | 6739d52fdced53a566188215d204ffef1e85a5e6 (patch) | |
tree | 9de827c20f236b864aa9b28dbda27b9c30c91b79 /src | |
parent | 6393a33944ec9983426cecd5f6c9f05ac089e1ae (diff) |
glx: Fix use after free case when destroying screens
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/glxext.c | 1 |
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); } |