aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2004-11-01 08:52:47 +0000
committerJason Rumney2004-11-01 08:52:47 +0000
commite8ac5d8824ce3faaaa20b4a137166bdb5b517e25 (patch)
tree6100c1a52aae589bb1a25f78440760df4c25347f /src
parent1a99fe1a39c8e20040ed1961284625395d51210f (diff)
downloademacs-e8ac5d8824ce3faaaa20b4a137166bdb5b517e25.tar.gz
emacs-e8ac5d8824ce3faaaa20b4a137166bdb5b517e25.zip
Delete region objects after use.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 3e2e566adc5..fea57849ad2 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -2763,9 +2763,13 @@ x_scroll_run (w, run)
2763 /* If the dirty region is not what we expected, redraw the entire frame. */ 2763 /* If the dirty region is not what we expected, redraw the entire frame. */
2764 if (!EqualRgn (combined, expect_dirty)) 2764 if (!EqualRgn (combined, expect_dirty))
2765 SET_FRAME_GARBAGED (f); 2765 SET_FRAME_GARBAGED (f);
2766
2767 DeleteObject (dirty);
2768 DeleteObject (combined);
2766 } 2769 }
2767 2770
2768 UNBLOCK_INPUT; 2771 UNBLOCK_INPUT;
2772 DeleteObject (expect_dirty);
2769} 2773}
2770 2774
2771 2775