aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_screen.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-02-11 01:15:36 -0800
committerEric Anholt <[email protected]>2009-02-17 10:58:32 -0800
commit60953059ea2319eae4d737831824dbce08ee1725 (patch)
treed496cdfc3d95c3704f6758cb0b52b90bb96d8038 /src/mesa/drivers/dri/intel/intel_screen.c
parentbaef7c5474d302f1bc9997b09948fd6b883ec60d (diff)
intel: Clean up several 965 memory leaks on context destroy.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_screen.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index a52271158c6..d6110b8163a 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -302,6 +302,7 @@ intelDestroyScreen(__DRIscreenPrivate * sPriv)
dri_bufmgr_destroy(intelScreen->bufmgr);
intelUnmapScreenRegions(intelScreen);
+ driDestroyOptionCache(&intelScreen->optionCache);
FREE(intelScreen);
sPriv->private = NULL;