diff options
author | Peter Harris <pharris@opentext.com> | 2014-04-16 20:24:34 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-21 20:56:48 -0700 |
commit | 8edeac202ecbace859b7889dd811424471dcca73 (patch) | |
tree | 684d085bb50d4d60d913666e92106bc7367ed27d | |
parent | 935ea0d7b5e18ad8f22ee074a08cbdc7390d0f5d (diff) |
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>
-rw-r--r-- | composite/compwindow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/composite/compwindow.c b/composite/compwindow.c index 882429414..9a6b2dae8 100644 --- a/composite/compwindow.c +++ b/composite/compwindow.c @@ -525,6 +525,7 @@ compCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc) } FreeScratchGC(pGC); } + RegionUninit(&rgnDst); return; } dx = pPixmap->screen_x - cw->oldx; |