From 6739d52fdced53a566188215d204ffef1e85a5e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 23 Jul 2010 21:51:58 -0400 Subject: [PATCH] glx: Fix use after free case when destroying screens --- src/glx/glxext.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/glx/glxext.c b/src/glx/glxext.c index f9a5f7ce5d7..eadc792b917 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -229,7 +229,6 @@ FreeScreenConfigs(__GLXdisplayPrivate * priv) #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) if (psc->driScreen) { psc->driScreen->destroyScreen(psc); - psc->driScreen = NULL; } else { Xfree(psc); } -- 2.30.2