From: handa Date: Thu, 24 Jun 2004 07:08:49 +0000 (+0000) Subject: (mdraw_glyph_list): Unref gstring->top at the tail. X-Git-Tag: withdl~20 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc9993efc7269667fd83a49d53f876980cd949b;p=m17n%2Fm17n-lib.git (mdraw_glyph_list): Unref gstring->top at the tail. --- 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); }