diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-09-08 00:05:54 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-09-08 00:05:54 +0000 |
commit | d1826e7b5835c4fea8f2e86919a8ca74adff6ff6 (patch) | |
tree | 93bf9c311b3b294287f2d1ec486446975e61523b /pango/pangocairo-fcfontmap.c | |
parent | c7c8da4617da9c3069725ca4bfadabb1f5924aba (diff) | |
download | pango-d1826e7b5835c4fea8f2e86919a8ca74adff6ff6.tar.gz |
Part of Bug 474708 – pangocairo leaks memory
2007-09-07 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 474708 – pangocairo leaks memory
* pango/pangocairo-font.c
(_pango_cairo_font_private_get_hex_box_info):
Fix a couple leaks.
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifontmap.c
(pango_cairo_atsui_font_map_finalize):
* pango/pangocairo-fc.h:
* pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize):
* pango/pangocairo-win32.h:
* pango/pangocairo-win32fontmap.c
(pango_cairo_win32_font_map_finalize):
Remove unused leftover renderer variable.
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Fix thinko.
svn path=/trunk/; revision=2424
Diffstat (limited to 'pango/pangocairo-fcfontmap.c')
-rw-r--r-- | pango/pangocairo-fcfontmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pango/pangocairo-fcfontmap.c b/pango/pangocairo-fcfontmap.c index 967ca8f4..98b64e7c 100644 --- a/pango/pangocairo-fcfontmap.c +++ b/pango/pangocairo-fcfontmap.c @@ -74,9 +74,6 @@ pango_cairo_fc_font_map_finalize (GObject *object) { PangoCairoFcFontMap *cffontmap = (PangoCairoFcFontMap *) (object); - if (cffontmap->renderer) - g_object_unref (cffontmap->renderer); - FT_Done_FreeType (cffontmap->library); G_OBJECT_CLASS (pango_cairo_fc_font_map_parent_class)->finalize (object); |