mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
doc should not be freed here, as it is used later in the code path.
This commit is contained in:
parent
6a74f0a1b0
commit
d2731eb575
1 changed files with 0 additions and 1 deletions
|
@ -135,7 +135,6 @@ static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlA
|
|||
new_tns = get_attribute(schema->properties, "targetNamespace");
|
||||
if (new_tns == NULL) {
|
||||
if (tns != NULL) {
|
||||
xmlFreeDoc(doc);
|
||||
xmlSetProp(schema, "targetNamespace", tns->children->content);
|
||||
}
|
||||
} else if (tns != NULL && strcmp(tns->children->content,new_tns->children->content) != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue