intel: Fix leak of DRI option info due to using the wrong free routine.

(cherry picked from commit 6d66f23c50)
This commit is contained in:
Brian Paul
2009-07-27 15:32:50 -06:00
parent 722d136f7b
commit 3dbaf68bdc

View File

@@ -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;