Commit 469d5bf8 authored by Daniel Stone's avatar Daniel Stone Committed by Keith Packard
Browse files

mi: Sync: Don't free managed screen private

misync allocates space for its screen private with
dixRegisterPrivateKey, which means it doesn't have to free it at
CloseScreen time; doing so will, in fact, result in a crash.
Signed-off-by: Daniel Stone's avatarDaniel Stone <>
Reviewed-by: James Jones's avatarJames Jones <>
Acked-by: default avatarTiago Vignatti <>
parent 44adb31b
......@@ -167,7 +167,6 @@ SyncCloseScreen (int i, ScreenPtr pScreen)
SyncScreenPrivPtr pScreenPriv = SYNC_SCREEN_PRIV(pScreen);
pScreen->CloseScreen = pScreenPriv->CloseScreen;
return (*pScreen->CloseScreen) (i, pScreen);
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