summaryrefslogtreecommitdiffstats
path: root/src/glx/glxext.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-19 22:12:22 -0400
committerKristian Høgsberg <[email protected]>2010-07-19 22:45:51 -0400
commitbab13969d8bf3ff9259524c3f4ab96d81485ccef (patch)
tree28dc1e3995a3c141078776dbb7ca8fa879342378 /src/glx/glxext.c
parente3e8196c025bd344a59b4671e473c395a6ea426b (diff)
glx: Move driver_configs to DRI screen privates
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r--src/glx/glxext.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 65aacc5887d..9c3c7a4840a 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -260,13 +260,6 @@ FreeScreenConfigs(__GLXdisplayPrivate * priv)
Xfree((char *) psc->serverGLXexts);
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
- if (psc->driver_configs) {
- unsigned int j;
- for (j = 0; psc->driver_configs[j]; j++)
- free((__DRIconfig *) psc->driver_configs[j]);
- free(psc->driver_configs);
- psc->driver_configs = NULL;
- }
if (psc->driScreen) {
psc->driScreen->destroyScreen(psc);
psc->driScreen = NULL;