diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-28 13:44:51 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-28 13:44:51 +0200 |
commit | 335ee09b2553f8870d05e0370af6845810fdcfdc (patch) | |
tree | c26aaf96530ce5754552dc6d66f893f15dd1dc28 /xps/xps_resource.c | |
parent | 68f746a1075518182ba30d35be28a8163e06c6ed (diff) | |
download | mupdf-335ee09b2553f8870d05e0370af6845810fdcfdc.tar.xz |
Fix access of recently freed memory.
Diffstat (limited to 'xps/xps_resource.c')
-rw-r--r-- | xps/xps_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |