aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2004-11-01 08:52:47 +0000
committerJason Rumney <[email protected]>2004-11-01 08:52:47 +0000
commite8ac5d8824ce3faaaa20b4a137166bdb5b517e25 (patch)
tree6100c1a52aae589bb1a25f78440760df4c25347f
parent1a99fe1a39c8e20040ed1961284625395d51210f (diff)
Delete region objects after use.
-rw-r--r--src/w32term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 3e2e566adc..fea57849ad 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -2763,9 +2763,13 @@ x_scroll_run (w, run)
/* 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);
}