[PATCH libXft] Remove an extraneous FcPatternDestroy in XftFontOpenInfo

Jeremy Huddleston jeremyhu at apple.com
Sun Oct 2 14:55:51 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=5745

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 src/xftfreetype.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/xftfreetype.c b/src/xftfreetype.c
index 3f8dfef..1c5967a 100644
--- a/src/xftfreetype.c
+++ b/src/xftfreetype.c
@@ -798,7 +798,6 @@ XftFontOpenInfo (Display	*dpy,
 	{
 	    if (!font->ref++)
 		--info->num_unref_fonts;
-	    FcPatternDestroy (pattern);
 	    return &font->public;
 	}
 
-- 
1.7.6.1




More information about the xorg-devel mailing list