diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-11-02 22:49:40 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-11-02 22:49:40 +0000 |
commit | 10b4737f9d0b0151414456eb1a063c242d592f12 (patch) | |
tree | 174cd0bc12a635efb76db69e52af844fe3929f39 /pango/pangofc-font.c | |
parent | 244270f1f65375b7f95b142ad8ed863a3d7f2062 (diff) | |
download | pango-10b4737f9d0b0151414456eb1a063c242d592f12.tar.gz |
Bug 369670 – Checked g_free calls
2006-11-02 Behdad Esfahbod <behdad@gnome.org>
Bug 369670 – Checked g_free calls
* pango/pango-coverage.c (pango_coverage_unref):
* pango/pango-layout.c (pango_layout_finalize),
(pango_layout_set_text):
* pango/pangofc-font.c (pango_fc_font_finalize):
* pango/pangox-fontmap.c (pango_x_font_map_read_alias_file):
Remove redundant checks before g_free() calls.
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r-- | pango/pangofc-font.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index 5f62f428..1f15644e 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -152,8 +152,7 @@ pango_fc_font_finalize (GObject *object) if (priv->decoder) _pango_fc_font_set_decoder (fcfont, NULL); - if (priv->char_to_glyph_cache) - g_free (priv->char_to_glyph_cache); + g_free (priv->char_to_glyph_cache); G_OBJECT_CLASS (pango_fc_font_parent_class)->finalize (object); } |