summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-07-02 13:30:20 -0700
committerEric Anholt <[email protected]>2009-07-02 14:07:10 -0700
commit6d66f23c50ebe8f973757b6fd1b81c9b7920c447 (patch)
treeb0ccaede96783c37d27b5dff075f6ec9d08cb0fb /src/mesa/drivers/dri/intel
parentddef7dc87b2001fbe117ee5f24a0c645ee95a03c (diff)
intel: Fix leak of DRI option info due to using the wrong free routine.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 8b3761c6bf2..6bbc995c1e6 100644
--- 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);
- driDestroyOptionCache(&intelScreen->optionCache);
+ driDestroyOptionInfo(&intelScreen->optionCache);
FREE(intelScreen);
sPriv->private = NULL;