diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-06-14 19:06:09 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-06-14 19:06:09 +0000 |
commit | 7a4dd44160b0d14c10f7f02b4e604a9ed546ee2c (patch) | |
tree | 89264174885fd5e7bc31093be9b97b9730280bf5 | |
parent | 3c9fc8fda618af0f8794e57d7450a2020eb8210e (diff) | |
download | pango-7a4dd44160b0d14c10f7f02b4e604a9ed546ee2c.tar.gz |
Fix potential leak of state->base_font. (#168930, Ben Maurer, Aivars
2005-06-14 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (itemize_state_finish): Fix
potential leak of state->base_font. (#168930, Ben Maurer,
Aivars Kalvans)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 6 | ||||
-rw-r--r-- | pango/pango-context.c | 2 |
3 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-06-14 Owen Taylor <otaylor@redhat.com> + + * pango/pango-context.c (itemize_state_finish): Fix + potential leak of state->base_font. (#168930, Ben Maurer, + Aivars Kalvans) + 2005-03-18 Hans Breuer <hans@breuer.org> Merge from HEAD: diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 158b1490..498456fa 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +2005-06-14 Owen Taylor <otaylor@redhat.com> + + * pango/pango-context.c (itemize_state_finish): Fix + potential leak of state->base_font. (#168930, Ben Maurer, + Aivars Kalvans) + 2005-03-18 Hans Breuer <hans@breuer.org> Merge from HEAD: diff --git a/pango/pango-context.c b/pango/pango-context.c index f1d2c407..b6926e2f 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -1140,6 +1140,8 @@ itemize_state_finish (ItemizeState *state) itemize_state_reset_shape_engines (state); if (state->current_fonts) g_object_unref (state->current_fonts); + if (state->base_font) + g_object_unref (state->base_font); } /** |