diff options
author | Brian Paul <[email protected]> | 2009-07-27 15:32:50 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-07-27 15:33:07 -0600 |
commit | 3dbaf68bdc1f7427a60bdcc8da635ae7a27aa3cd (patch) | |
tree | 9675403bcc92349dc962493536f00c8f049facfb /src | |
parent | 722d136f7bd3390c72bca175831647d93393e92d (diff) |
intel: Fix leak of DRI option info due to using the wrong free routine.
(cherry picked from commit 6d66f23c50ebe8f973757b6fd1b81c9b7920c447)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_screen.c | 2 |
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 2c6e2640b08..f810850ef5b 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -305,7 +305,7 @@ intelDestroyScreen(__DRIscreenPrivate * sPriv) dri_bufmgr_destroy(intelScreen->bufmgr); intelUnmapScreenRegions(intelScreen); - driDestroyOptionCache(&intelScreen->optionCache); + driDestroyOptionInfo(&intelScreen->optionCache); FREE(intelScreen); sPriv->private = NULL; |