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
|
@ -728,8 +728,6 @@ xf86CrtcCloseScreen(ScreenPtr screen)
|
|||
|
||||
xf86RandR12CloseScreen(screen);
|
||||
|
||||
free(config->name);
|
||||
|
||||
screen->CloseScreen(screen);
|
||||
|
||||
for (o = 0; o < config->num_output; o++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user