From: Jason Rumney Date: Mon, 1 Nov 2004 08:52:47 +0000 (+0000) Subject: Delete region objects after use. X-Git-Tag: ttn-vms-21-2-B4~4283 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e8ac5d8824ce3faaaa20b4a137166bdb5b517e25;p=emacs.git Delete region objects after use. --- 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); }