projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ec34d
)
Fix a leak of the screen's option cache on cleanup (copied from radeon).
author
Eric Anholt
<anholt@FreeBSD.org>
Thu, 7 Sep 2006 06:02:00 +0000
(06:02 +0000)
committer
Eric Anholt
<anholt@FreeBSD.org>
Thu, 7 Sep 2006 06:02:00 +0000
(06:02 +0000)
src/mesa/drivers/dri/i915/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_screen.c
b/src/mesa/drivers/dri/i915/intel_screen.c
index a87de17304fe31a89a857df32e042112c39d4d31..107cf137ff672a61b2c7480141b42f74b5e20439 100644
(file)
--- a/
src/mesa/drivers/dri/i915/intel_screen.c
+++ b/
src/mesa/drivers/dri/i915/intel_screen.c
@@
-357,6
+357,9
@@
static void intelDestroyScreen(__DRIscreenPrivate *sPriv)
intelScreenPrivate *intelScreen = (intelScreenPrivate *)sPriv->private;
intelUnmapScreenRegions(intelScreen);
+
+ driDestroyOptionInfo (&intelScreen->optionCache);
+
FREE(intelScreen);
sPriv->private = NULL;
}