mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
glx: free driScreen in FreeScreenConfigs()
This commit is contained in:
parent
8b51278134
commit
8434c65bb9
1 changed files with 3 additions and 0 deletions
|
|
@ -170,10 +170,13 @@ static void FreeScreenConfigs(__GLXdisplayPrivate *priv)
|
|||
if (psc->driScreen) {
|
||||
psc->driScreen->destroyScreen(psc);
|
||||
__glxHashDestroy(psc->drawHash);
|
||||
XFree(psc->driScreen);
|
||||
psc->driScreen = NULL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
XFree((char*) priv->screenConfigs);
|
||||
priv->screenConfigs = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue