Mercurial > hg > xemacs-beta
diff src/redisplay-gtk.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 | dbd2a866e38a |
children | a4322ac49e37 |
line wrap: on
line diff
--- a/src/redisplay-gtk.c Tue Jun 27 21:51:09 2006 +0000 +++ b/src/redisplay-gtk.c Tue Jun 27 22:59:40 2006 +0000 @@ -293,7 +293,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); @@ -325,7 +325,7 @@ if (end < 0) end = Dynarr_length (rba); - Dynarr_reset (buf); + buf = Dynarr_new (Ichar); while (elt < end) {