mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -525,6 +525,7 @@ compCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
|||
}
|
||||
FreeScratchGC(pGC);
|
||||
}
|
||||
RegionUninit(&rgnDst);
|
||||
return;
|
||||
}
|
||||
dx = pPixmap->screen_x - cw->oldx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue