diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-10 16:58:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-10 16:58:21 -0800 |
commit | 4ed4915bc0fbe9b4419ca4a0d4e43c2fee032ae9 (patch) | |
tree | e4ea374adb5e3bf00eeddcd8c35a6e4063a34c03 /glx/glxdri.c | |
parent | 291c39dfef84d1b204d7f5e63e925dee2dbdaca7 (diff) | |
parent | ec1bfbc66926130e1153facc3b92ee175f1cb6b6 (diff) |
Merge remote branch 'whot/for-keith'
Diffstat (limited to 'glx/glxdri.c')
-rw-r--r-- | glx/glxdri.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/glx/glxdri.c b/glx/glxdri.c index 6458ef928..db3fcd5cb 100644 --- a/glx/glxdri.c +++ b/glx/glxdri.c @@ -1158,9 +1158,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen) */ buffer_size = __glXGetExtensionString(screen->glx_enable_bits, NULL); if (buffer_size > 0) { - if (screen->base.GLXextensions != NULL) { - free(screen->base.GLXextensions); - } + free(screen->base.GLXextensions); screen->base.GLXextensions = xnfalloc(buffer_size); (void) __glXGetExtensionString(screen->glx_enable_bits, |