mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
intel: Fix leak of DRI option info due to using the wrong free routine.
(cherry picked from commit 6d66f23c50)
This commit is contained in:
parent
722d136f7b
commit
3dbaf68bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue