提交 b9b3c131 编写于 作者: O Owen Taylor 提交者: Owen Taylor

Memory leak fixes from Masatake YAMATO, #130652

Fri Feb 13 10:54:18 2004  Owen Taylor  <otaylor@redhat.com>

        Memory leak fixes from Masatake YAMATO, #130652

        * pango/opentype/ftxgdef.c (TT_Done_GDEF_Table):
        Free the gdef table as well as the contained data.

        * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
        Set gcd->loaded, so that the contents get freed later.
上级 926b8f32
......@@ -298,6 +298,8 @@
Free_NewGlyphClasses( gdef, memory );
FREE( gdef );
return TT_Err_Ok;
}
......@@ -1034,6 +1036,8 @@
gdef->MarkAttachClassDef_offset = 0L;
gdef->MarkAttachClassDef.loaded = FALSE;
gcd->loaded = TRUE;
return TT_Err_Ok;
Fail1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册