From 335ee09b2553f8870d05e0370af6845810fdcfdc Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 28 Mar 2012 13:44:51 +0200 Subject: Fix access of recently freed memory. --- xps/xps_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xps/xps_resource.c') diff --git a/xps/xps_resource.c b/xps/xps_resource.c index 845bea6c..73372801 100644 --- a/xps/xps_resource.c +++ b/xps/xps_resource.c @@ -73,7 +73,7 @@ xps_parse_remote_resource_dictionary(xps_document *doc, char *base_uri, char *so if (strcmp(xml_tag(xml), "ResourceDictionary")) { xml_free_element(doc->ctx, xml); - fz_throw(doc->ctx, "expected ResourceDictionary element (found %s)", xml_tag(xml)); + fz_throw(doc->ctx, "expected ResourceDictionary element"); } fz_strlcpy(part_uri, part_name, sizeof part_uri); -- cgit v1.2.3