From: Ville Syrjälä <[email protected]> WinPriv->PortRec should never be NULL as WinPriv itself would be removed from the list when the port is removed from the window.
Signed-off-by: Ville Syrjälä <[email protected]> --- hw/xfree86/common/xf86xv.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c index 4676130..532f0b2 100644 --- a/hw/xfree86/common/xf86xv.c +++ b/hw/xfree86/common/xf86xv.c @@ -1120,8 +1120,6 @@ xf86XVClipNotify(WindowPtr pWin, int dx, int dy) while(WinPriv) { pPriv = WinPriv->PortRec; - if(!pPriv) goto next; - if(pPriv->pCompositeClip && pPriv->FreeCompositeClip) RegionDestroy(pPriv->pCompositeClip); @@ -1156,7 +1154,6 @@ xf86XVClipNotify(WindowPtr pWin, int dx, int dy) } } -next: pPrev = WinPriv; WinPriv = WinPriv->next; } -- 1.7.2.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
