fix a memleak (that code block has been commented out for years for unknown reasons)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user