Mercurial > hg > xemacs-beta
diff src/redisplay-msw.c @ 3479:2b84dd8eb906
[xemacs-hg @ 2006-06-27 22:59:37 by james]
Don't leak Dynarr's in redisplay. <m3sllwwxja.fsf@jerrypc.cs.usu.edu>
author | james |
---|---|
date | Tue, 27 Jun 2006 22:59:40 +0000 |
parents | 3d8143fc88e1 |
children | dbf79a1732ba |
line wrap: on
line diff
--- a/src/redisplay-msw.c Tue Jun 27 21:51:09 2006 +0000 +++ b/src/redisplay-msw.c Tue Jun 27 22:59:40 2006 +0000 @@ -907,7 +907,7 @@ int cursor_width, int cursor_height) { struct frame *f = XFRAME (w->frame); - Ichar_dynarr *buf = Dynarr_new (Ichar); + Ichar_dynarr *buf; Lisp_Object window; struct display_block *db = Dynarr_atp (dl->display_blocks, block); @@ -934,7 +934,7 @@ if (end < 0) end = Dynarr_length (rba); - Dynarr_reset (buf); + buf = Dynarr_new (Ichar); while (elt < end) {