misc/shared-mime-info patch
Mark Evenson
evenson at panix.com
Mon Apr 12 15:40:29 PDT 2004
misc/shared-mime-info_0.14_1 chokes on updating /usr/local/share/mime for
me without the (trivial) attached patch.
-------------- next part --------------
--- 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'.
More information about the freebsd-ports
mailing list