summaryrefslogtreecommitdiff
path: root/pango/pangocairo-win32fontmap.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-09-08 00:05:54 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-09-08 00:05:54 +0000
commitd1826e7b5835c4fea8f2e86919a8ca74adff6ff6 (patch)
tree93bf9c311b3b294287f2d1ec486446975e61523b /pango/pangocairo-win32fontmap.c
parentc7c8da4617da9c3069725ca4bfadabb1f5924aba (diff)
downloadpango-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-win32fontmap.c')
-rw-r--r--pango/pangocairo-win32fontmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pango/pangocairo-win32fontmap.c b/pango/pangocairo-win32fontmap.c
index 6d097df3..027b5ac5 100644
--- a/pango/pangocairo-win32fontmap.c
+++ b/pango/pangocairo-win32fontmap.c
@@ -72,9 +72,6 @@ pango_cairo_win32_font_map_finalize (GObject *object)
{
PangoCairoWin32FontMap *cwfontmap = PANGO_CAIRO_WIN32_FONT_MAP (object);
- if (cwfontmap->renderer)
- g_object_unref (cwfontmap->renderer);
-
G_OBJECT_CLASS (pango_cairo_win32_font_map_parent_class)->finalize (object);
}