From: George Sapountzis Date: Tue, 30 Mar 2010 10:09:16 +0000 (+0300) Subject: drisw: fix use after free (bug 27370) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cc9387d0de966e855794d3108b31737a6dfc13a;p=mesa.git drisw: fix use after free (bug 27370) --- 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; }