projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glapi: Do not use backtrace on Cygwin.
[mesa.git]
/
src
/
glx
/
glxext.c
diff --git
a/src/glx/glxext.c
b/src/glx/glxext.c
index 3827b583b7ad9a7b87f312b9d8ade86da7a4ea82..729ca5f073c60d8b3905335dc817697b5d01cc6d 100644
(file)
--- a/
src/glx/glxext.c
+++ b/
src/glx/glxext.c
@@
-230,10
+230,8
@@
glx_display_free(struct glx_display *priv)
}
FreeScreenConfigs(priv);
}
FreeScreenConfigs(priv);
- if (priv->serverGLXvendor)
- free((char *) priv->serverGLXvendor);
- if (priv->serverGLXversion)
- free((char *) priv->serverGLXversion);
+ free((char *) priv->serverGLXvendor);
+ free((char *) priv->serverGLXversion);
__glxHashDestroy(priv->glXDrawHash);
__glxHashDestroy(priv->glXDrawHash);
@@
-740,8
+738,7
@@
glx_screen_cleanup(struct glx_screen *psc)
{
if (psc->configs) {
glx_config_destroy_list(psc->configs);
{
if (psc->configs) {
glx_config_destroy_list(psc->configs);
- if (psc->effectiveGLXexts)
- free(psc->effectiveGLXexts);
+ free(psc->effectiveGLXexts);
psc->configs = NULL; /* NOTE: just for paranoia */
}
if (psc->visuals) {
psc->configs = NULL; /* NOTE: just for paranoia */
}
if (psc->visuals) {