From f81b1dbe374fe446f6ef676e70a72952ffb47d4e Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 15 Jul 2006 12:09:27 +0000 Subject: fix a memleak (that code block has been commented out for years for unknown reasons) --- src/glx/x11/glxext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 8b28f81881..7ceed42fa2 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, -- cgit v1.2.3