summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-13 16:11:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-13 16:11:40 +0000
commitfe16385f532ae13acd46c03c8175ba67534fbfc0 (patch)
tree00521ec4838fb5358766ec3ea2440fc44257583f
parenta036dc6bbf67584d8e7ae8ac0a72b7c922977a7a (diff)
downloadpango-fe16385f532ae13acd46c03c8175ba67534fbfc0.tar.gz
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.
-rw-r--r--ChangeLog10
-rw-r--r--ChangeLog.pre-1-1010
-rw-r--r--ChangeLog.pre-1-410
-rw-r--r--ChangeLog.pre-1-610
-rw-r--r--ChangeLog.pre-1-810
-rw-r--r--pango/opentype/ftxgdef.c4
6 files changed, 54 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 419f49ec..d85c688a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
Fri Feb 13 10:19:16 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Skip the xslt and stylesheet checks
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 419f49ec..d85c688a 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,13 @@
+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.
+
Fri Feb 13 10:19:16 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Skip the xslt and stylesheet checks
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index 419f49ec..d85c688a 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,13 @@
+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.
+
Fri Feb 13 10:19:16 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Skip the xslt and stylesheet checks
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 419f49ec..d85c688a 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,13 @@
+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.
+
Fri Feb 13 10:19:16 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Skip the xslt and stylesheet checks
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 419f49ec..d85c688a 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,13 @@
+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.
+
Fri Feb 13 10:19:16 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Skip the xslt and stylesheet checks
diff --git a/pango/opentype/ftxgdef.c b/pango/opentype/ftxgdef.c
index d1cbda1e..36146970 100644
--- a/pango/opentype/ftxgdef.c
+++ b/pango/opentype/ftxgdef.c
@@ -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: