From 7d22d5951029d8f46317bfa6e51269b63ac6e5e6 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 24 Jul 2003 21:09:33 +0000 Subject: Handle NULL item->analysis.font. (#114576, Morten Welinder) Thu Jul 24 17:06:38 2003 Owen Taylor * pango/pango-item.c (pango_item_copy/free): Handle NULL item->analysis.font. (#114576, Morten Welinder) --- pango/pango-item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1