Skip site navigation (1)Skip section navigation (2)
Date:      12 Apr 2004 16:57:45 -0400
From:      Mark Evenson <evenson@panix.com>
To:        freebsd-ports@freebsd.org
Cc:        olgeni@FreeBSD.org
Subject:   misc/shared-mime-info patch
Message-ID:  <a03c78lxrq.fsf@panix3.panix.com>

next in thread | raw e-mail | index | archive | help
--=-=-=

misc/shared-mime-info_0.14_1 chokes on updating /usr/local/share/mime for
me without the (trivial) attached patch.


--=-=-=
Content-Disposition: attachment; filename=patch-aa
Content-Description: patch-aa for shared-mime-info

--- update-mime-database.c.orig	Mon Oct 13 11:43:38 2003
+++ update-mime-database.c	Mon Apr 12 22:45:01 2004
@@ -377,7 +377,8 @@
 		}
 	}
 
-	xmlFree(lang);
+	if (lang != NULL)
+	  xmlFree(lang);
 }
 
 /* 'node' is a <mime-type> node from a source file, whose type is 'type'.

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a03c78lxrq.fsf>