From e8ac5d8824ce3faaaa20b4a137166bdb5b517e25 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Mon, 1 Nov 2004 08:52:47 +0000 Subject: [PATCH] Delete region objects after use. --- src/w32term.c | 4 ++++ 1 file changed, 4 insertions(+) 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) /* 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); } -- 2.39.5