diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | pango/pango-layout.c | 3 |
8 files changed, 38 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index b036a64b..e6d4d864 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index b036a64b..e6d4d864 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index b036a64b..e6d4d864 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index b036a64b..e6d4d864 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index b036a64b..e6d4d864 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index b036a64b..e6d4d864 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2000-07-28 Martin Baulig <baulig@suse.de> + + * pango/pango-layout.c (pango_layout_finalize): Destroy + the layout->font_desc to avoid a memory leak. + 2000-07-27 Tor Lillqvist <tml@iki.fi> * pango/pango.def diff --git a/pango/pango-layout.c b/pango/pango-layout.c index a1d266df..8c5cf403 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -161,6 +161,9 @@ pango_layout_finalize (GObject *object) pango_attr_list_unref (layout->attrs); if (layout->text) g_free (layout->text); + + if (layout->font_desc) + pango_font_description_free (layout->font_desc); G_OBJECT_CLASS (parent_class)->finalize (object); } |