projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b51278
)
glx: free driScreen in FreeScreenConfigs()
author
Kristof Ralovich
<kristof.ralovich@gmail.com>
Wed, 20 Aug 2008 21:30:12 +0000
(15:30 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 20 Aug 2008 21:33:03 +0000
(15:33 -0600)
src/glx/x11/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxext.c
b/src/glx/x11/glxext.c
index 5844c3f656e5e8b5b231e86b2d8a072a47953367..0d6d25ef3e49aaa75b2bfe5663b171ede34b186d 100644
(file)
--- 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;
}
/*