summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-07-24 21:09:33 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-07-24 21:09:33 +0000
commit7d22d5951029d8f46317bfa6e51269b63ac6e5e6 (patch)
tree184d2d3e7ff50dc1ac09adc83b61f2561b62aa99
parent329eeb9ba6e7f9d4c4544b18f4ff478edebb9808 (diff)
downloadpango-7d22d5951029d8f46317bfa6e51269b63ac6e5e6.tar.gz
Handle NULL item->analysis.font. (#114576, Morten Welinder)
Thu Jul 24 17:06:38 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-item.c (pango_item_copy/free): Handle NULL item->analysis.font. (#114576, Morten Welinder)
-rw-r--r--pango/pango-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-item.c b/pango/pango-item.c
index 5c02cdec..c1857a1e 100644
--- a/pango/pango-item.c
+++ b/pango/pango-item.c
@@ -87,7 +87,7 @@ pango_item_free (PangoItem *item)
g_slist_free (item->analysis.extra_attrs);
}
- if (result->analysis.font)
+ if (item->analysis.font)
g_object_unref (item->analysis.font);
g_free (item);