projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: do not leak the dri2 extension information
[mesa.git]
/
src
/
glx
/
dri2.c
diff --git
a/src/glx/dri2.c
b/src/glx/dri2.c
index cc6c1641669f82526011715853d0ec35e4f3fd2f..9ebd00ac849517f48f1f544d5b3861dcaa723d8e 100644
(file)
--- a/
src/glx/dri2.c
+++ b/
src/glx/dri2.c
@@
-53,7
+53,8
@@
static char dri2ExtensionName[] = DRI2_NAME;
-static XExtensionInfo *dri2Info;
+static XExtensionInfo _dri2Info_data;
+static XExtensionInfo *dri2Info = &_dri2Info_data;
static XEXT_GENERATE_CLOSE_DISPLAY (DRI2CloseDisplay, dri2Info)
static Bool