fix a memleak (that code block has been commented out for years for unknown reasons)
authorTilman Sauerbeck <tilman@freedesktop.org>
Sat, 15 Jul 2006 12:09:27 +0000 (12:09 +0000)
committerTilman Sauerbeck <tilman@freedesktop.org>
Sat, 15 Jul 2006 12:09:27 +0000 (12:09 +0000)
src/glx/x11/glxext.c

index 8b28f818817d56b41e7449e18ce81bb1608fb4a9..7ceed42fa236153b04cf04c2f0337d05457b3d71 100644 (file)
@@ -388,7 +388,7 @@ static int __glXFreeDisplayPrivate(XExtData *extension)
        priv->serverGLXversion = 0x0; /* to protect against double free's */
     }
 
-#if 0 /* GLX_DIRECT_RENDERING */
+#ifdef GLX_DIRECT_RENDERING
     /* Free the direct rendering per display data */
     if (priv->driDisplay.private)
        (*priv->driDisplay.destroyDisplay)(priv->dpy,