mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 10:00:14 +01:00
Fix a leak of the screen's option cache on cleanup (copied from radeon).
This commit is contained in:
parent
14ec34d647
commit
d016d4e70f
1 changed files with 3 additions and 0 deletions
|
|
@ -357,6 +357,9 @@ static void intelDestroyScreen(__DRIscreenPrivate *sPriv)
|
|||
intelScreenPrivate *intelScreen = (intelScreenPrivate *)sPriv->private;
|
||||
|
||||
intelUnmapScreenRegions(intelScreen);
|
||||
|
||||
driDestroyOptionInfo (&intelScreen->optionCache);
|
||||
|
||||
FREE(intelScreen);
|
||||
sPriv->private = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue