From 5cc9387d0de966e855794d3108b31737a6dfc13a Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Tue, 30 Mar 2010 13:09:16 +0300 Subject: [PATCH] drisw: fix use after free (bug 27370) --- src/mesa/drivers/dri/common/drisw_util.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/common/drisw_util.c b/src/mesa/drivers/dri/common/drisw_util.c index 3f4e94c8f6e..8d08b93bfb5 100644 --- a/src/mesa/drivers/dri/common/drisw_util.c +++ b/src/mesa/drivers/dri/common/drisw_util.c @@ -184,8 +184,6 @@ static int driUnbindContext(__DRIcontext *pcp) pcp->driDrawablePriv = NULL; pcp->driReadablePriv = NULL; - pdp->driContextPriv = NULL; - return GL_TRUE; } -- 2.30.2