composite: Fix memory leak in compCopyWindow
Signed-off-by: Peter Harris <pharris@opentext.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
935ea0d7b5
commit
8edeac202e
|
@ -525,6 +525,7 @@ compCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
|||
}
|
||||
FreeScratchGC(pGC);
|
||||
}
|
||||
RegionUninit(&rgnDst);
|
||||
return;
|
||||
}
|
||||
dx = pPixmap->screen_x - cw->oldx;
|
||||
|
|
Loading…
Reference in New Issue