From ffc9993efc7269667fd83a49d53f876980cd949b Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 24 Jun 2004 07:08:49 +0000 Subject: [PATCH] (mdraw_glyph_list): Unref gstring->top at the tail. --- src/draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/draw.c b/src/draw.c index 95aa944..833faee 100644 --- a/src/draw.c +++ b/src/draw.c @@ -2662,6 +2662,8 @@ mdraw_glyph_list (MFrame *frame, MText *mt, int from, int to, } n++; } + M17N_OBJECT_UNREF (gstring->top); + *num_glyphs_return = n; return (n <= array_size ? 0 : -1); } -- 1.7.10.4