intel: Fix leak of DRI option info due to using the wrong free routine.
This commit is contained in:
parent
ddef7dc87b
commit
6d66f23c50
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue