diff options
author | Benjamin Otte <otte@gnome.org> | 2008-10-23 13:18:23 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2008-10-23 13:20:22 +0200 |
commit | 4f0f72df163df9a3fc00e627fe83051b92a44a73 (patch) | |
tree | 51b192a11bdbd6cb38939e8c927f014bc0eae049 | |
parent | b64d8ee225ebb6803c96cdee77df5e7663935f2d (diff) |
don't leak the attribute iterator
-rw-r--r-- | swfdec/swfdec_text_layout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swfdec/swfdec_text_layout.c b/swfdec/swfdec_text_layout.c index c5fd4cf0..06534999 100644 --- a/swfdec/swfdec_text_layout.c +++ b/swfdec/swfdec_text_layout.c @@ -900,6 +900,7 @@ swfdec_text_layout_modify_attributes (SwfdecTextLayout *layout, } while (pango_attr_iterator_next (iter)); pango_layout_set_attributes (block->layout, new); pango_attr_list_unref (new); + pango_attr_iterator_destroy (iter); return old; } |