From 3a21da59e59cf11a9113d71e3431c4bd394ff1e8 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 16 Mar 2016 19:05:17 -0400 Subject: glx: Remove default server glx extension string This existed only to be strdup'd and then immediately freed. Reviewed-by: Eric Anholt Reviewed-by: Emil Velikov Signed-off-by: Adam Jackson --- hw/xquartz/GL/indirect.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/xquartz') diff --git a/hw/xquartz/GL/indirect.c b/hw/xquartz/GL/indirect.c index 4e6ab3d13..4f3e2e472 100644 --- a/hw/xquartz/GL/indirect.c +++ b/hw/xquartz/GL/indirect.c @@ -566,8 +566,6 @@ __glXAquaScreenProbe(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); -- cgit v1.2.3