kdrive/ephyr: Don't discard one-time driver structure at server reset

KdScreenInfo is constructed at server startup time, and not
re-generated at server reset time. Freeing the 'driver' element at
reset time means this information is lost, and the server crashes
pretty quickly afterwards.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Keith Packard 2013-10-30 08:54:24 -07:00
parent 85ae44f07f
commit 899451ae59

View File

@ -732,8 +732,6 @@ ephyrScreenFini(KdScreenInfo * screen)
if (scrpriv->shadow) {
KdShadowFbFree(screen);
}
free(screen->driver);
screen->driver = NULL;
}
/*