diff options
author | Kristof Ralovich <[email protected]> | 2008-08-20 15:30:12 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-20 15:33:03 -0600 |
commit | 8434c65bb9f52a33ba8945bca9a0c62f7d30ed3a (patch) | |
tree | e4c66d857c70f779405e0bdecf6aa5bc6e171707 /src/glx/x11 | |
parent | 8b512781345090a18403c43c908fa84c45b8016c (diff) |
glx: free driScreen in FreeScreenConfigs()
Diffstat (limited to 'src/glx/x11')
-rw-r--r-- | src/glx/x11/glxext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 5844c3f656e..0d6d25ef3e4 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -170,10 +170,13 @@ static void FreeScreenConfigs(__GLXdisplayPrivate *priv) if (psc->driScreen) { psc->driScreen->destroyScreen(psc); __glxHashDestroy(psc->drawHash); + XFree(psc->driScreen); + psc->driScreen = NULL; } #endif } XFree((char*) priv->screenConfigs); + priv->screenConfigs = NULL; } /* |