mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-10 08:10:19 +01:00
xf86/crtc: don't free config->name
This is set by pre_init not screen init, so if we free it here and then recycle the server, we lose all the providers. I think we need to wrap FreeScreen here to do this properly, will investigate for 1.14 most likely, safer to just leak this on server exit for now. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
148583d62b
commit
20f601a0fb
1 changed files with 0 additions and 2 deletions
|
|
@ -728,8 +728,6 @@ xf86CrtcCloseScreen(ScreenPtr screen)
|
|||
|
||||
xf86RandR12CloseScreen(screen);
|
||||
|
||||
free(config->name);
|
||||
|
||||
screen->CloseScreen(screen);
|
||||
|
||||
for (o = 0; o < config->num_output; o++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue