Commit 75408f53 authored by Michel Dänzer's avatar Michel Dänzer Committed by Adam Jackson

xf86XvMCScreenInit: Clear pScreenPriv->dixinfo when freeing pAdapt

Fixes double-free later in xf86XvMCCloseScreen, which would generally
cause fireworks.
Reviewed-by: Adam Jackson's avatarAdam Jackson <>
Signed-off-by: Michel Dänzer's avatarMichel Dänzer <>
parent 76732f49
......@@ -187,6 +187,7 @@ xf86XvMCScreenInit(ScreenPtr pScreen,
if (!pAdapt[i].xv_adaptor) {
/* no adaptor by that name */
pScreenPriv->dixinfo = FALSE;
return FALSE;
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