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

This commit is contained in:
Eric Anholt 2009-07-02 13:30:20 -07:00
parent ddef7dc87b
commit 6d66f23c50
1 changed files with 1 additions and 1 deletions

View File

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