summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@freedesktop.org>2006-07-15 12:09:27 +0000
committerTilman Sauerbeck <tilman@freedesktop.org>2006-07-15 12:09:27 +0000
commitf81b1dbe374fe446f6ef676e70a72952ffb47d4e (patch)
tree1f8ee94596683cde27fed463ed3e18af4853b3c7 /src
parent416ac254c262d307608c14509725d1574205deff (diff)
fix a memleak (that code block has been commented out for years for unknown reasons)
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/glxext.c2
1 files changed, 1 insertions, 1 deletions
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,