projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6393a33
)
glx: Fix use after free case when destroying screens
author
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Jul 2010 01:51:58 +0000
(21:51 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Jul 2010 02:05:53 +0000
(22:05 -0400)
src/glx/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/glxext.c
b/src/glx/glxext.c
index f9a5f7ce5d730f6f14f477ec2f5ada8a3ed08d68..eadc792b917d790e6ed8e8a778ca0ce7b8c482ed 100644
(file)
--- 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);
}