projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddef7dc
)
intel: Fix leak of DRI option info due to using the wrong free routine.
author
Eric Anholt
<eric@anholt.net>
Thu, 2 Jul 2009 20:30:20 +0000
(13:30 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 2 Jul 2009 21:07:10 +0000
(14:07 -0700)
src/mesa/drivers/dri/intel/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index 8b3761c6bf294d2ade1eaddb460f5c7a70295e13..6bbc995c1e65427d31e96ca10deefc34627dc79a 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_screen.c
+++ b/
src/mesa/drivers/dri/intel/intel_screen.c
@@
-316,7
+316,7
@@
intelDestroyScreen(__DRIscreenPrivate * sPriv)
dri_bufmgr_destroy(intelScreen->bufmgr);
intelUnmapScreenRegions(intelScreen);
- driDestroyOption
Cache
(&intelScreen->optionCache);
+ driDestroyOption
Info
(&intelScreen->optionCache);
FREE(intelScreen);
sPriv->private = NULL;