Commit cdf59aa5 authored by Daniel Veillard's avatar Daniel Veillard

fixing a deallocation problem in xmlSchemaAddSchemaDoc() in case of

* xmlschemas.c: fixing a deallocation problem in xmlSchemaAddSchemaDoc()
  in case of errors, should fix bug #338303
Daniel
parent 3f845a99
Thu Apr 13 09:47:25 CEST 2006 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: fixing a deallocation problem in xmlSchemaAddSchemaDoc()
in case of errors, should fix bug #338303
Thu Apr 13 09:31:45 CEST 2006 Daniel Veillard <daniel@veillard.com>
* relaxng.c: fixing a deallocation problem in xmlRelaxNGParse()
......
......@@ -10556,8 +10556,6 @@ doc_load:
invokingNode, NULL,
"The document '%s' has no document element",
schemaLocation, NULL);
xmlFreeDoc(doc);
doc = NULL;
goto exit_error;
}
/*
......@@ -10572,8 +10570,6 @@ doc_load:
invokingNode, NULL,
"The XML document '%s' is not a schema document",
schemaLocation, NULL);
xmlFreeDoc(doc);
doc = NULL;
goto exit_error;
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment