diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-11 01:15:36 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-02-17 10:58:32 -0800 |
commit | 60953059ea2319eae4d737831824dbce08ee1725 (patch) | |
tree | d496cdfc3d95c3704f6758cb0b52b90bb96d8038 /src/mesa/drivers/dri/intel/intel_screen.c | |
parent | baef7c5474d302f1bc9997b09948fd6b883ec60d (diff) | |
download | external_mesa3d-60953059ea2319eae4d737831824dbce08ee1725.zip external_mesa3d-60953059ea2319eae4d737831824dbce08ee1725.tar.gz external_mesa3d-60953059ea2319eae4d737831824dbce08ee1725.tar.bz2 |
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.c | 1 |
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 a522711..d6110b8 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; |