From: Tilman Sauerbeck Date: Sat, 15 Jul 2006 12:09:27 +0000 (+0000) Subject: fix a memleak (that code block has been commented out for years for unknown reasons) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f81b1dbe374fe446f6ef676e70a72952ffb47d4e;p=mesa.git fix a memleak (that code block has been commented out for years for unknown reasons) --- diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 8b28f818817..7ceed42fa23 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -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,