Mercurial > emacs
changeset 57837:d2354c6afd6d
Delete region objects after use.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Mon, 01 Nov 2004 08:52:47 +0000 |
parents | e121e514d848 |
children | f9b877e1c390 |
files | src/w32term.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Mon Nov 01 08:51:57 2004 +0000 +++ b/src/w32term.c Mon Nov 01 08:52:47 2004 +0000 @@ -2763,9 +2763,13 @@ /* If the dirty region is not what we expected, redraw the entire frame. */ if (!EqualRgn (combined, expect_dirty)) SET_FRAME_GARBAGED (f); + + DeleteObject (dirty); + DeleteObject (combined); } UNBLOCK_INPUT; + DeleteObject (expect_dirty); }