summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/drisw_util.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2010-03-30 13:09:16 +0300
committerGeorge Sapountzis <[email protected]>2010-03-30 13:10:36 +0300
commit5cc9387d0de966e855794d3108b31737a6dfc13a (patch)
tree3988731183cc94bb460e52124562d09944621333 /src/mesa/drivers/dri/common/drisw_util.c
parente5c7d1e1c8ccb493c63e33d017c28b5cf4a55829 (diff)
drisw: fix use after free (bug 27370)
Diffstat (limited to 'src/mesa/drivers/dri/common/drisw_util.c')
-rw-r--r--src/mesa/drivers/dri/common/drisw_util.c2
1 files changed, 0 insertions, 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;
}