summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-03-16 19:05:17 -0400
committerAdam Jackson <ajax@redhat.com>2016-03-30 09:37:41 -0400
commit3a21da59e59cf11a9113d71e3431c4bd394ff1e8 (patch)
tree2da70f65f04e785edb0443bb10cb599b8d27088e /hw/xwin
parent44e1c97ca6fe992bbb6ef9ecb0b82a113adfa57e (diff)
glx: Remove default server glx extension string
This existed only to be strdup'd and then immediately freed. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xwin')
-rw-r--r--hw/xwin/glx/indirect.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xwin/glx/indirect.c b/hw/xwin/glx/indirect.c
index e4be64228..e515d188b 100644
--- a/hw/xwin/glx/indirect.c
+++ b/hw/xwin/glx/indirect.c
@@ -743,8 +743,6 @@ glxWinScreenProbe(ScreenPtr pScreen)
unsigned int buffer_size =
__glXGetExtensionString(screen->glx_enable_bits, NULL);
if (buffer_size > 0) {
- free(screen->base.GLXextensions);
-
screen->base.GLXextensions = xnfalloc(buffer_size);
__glXGetExtensionString(screen->glx_enable_bits,
screen->base.GLXextensions);