Commit 868e3036 authored by Dodji Seketeli's avatar Dodji Seketeli
Browse files

Xephyr: fix a crash when using xrandr twice

        * hw/kdrive/ephyr/ephyr.c:
          (ephyrScreenFini): don't forget to
          free shadowfb data (if necessary) upon server is reset.
parent 58332894
......@@ -719,6 +719,10 @@ ephyrRestore (KdCardInfo *card)
ephyrScreenFini (KdScreenInfo *screen)
EphyrScrPriv *scrpriv = screen->driver;
if (scrpriv->shadow) {
KdShadowFbFree (screen, 0);
screen->driver = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment