mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-28 07:21:26 +03:00
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
This commit is contained in:
parent
3f845a99b9
commit
cdf59aa58f
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Thu Apr 13 09:31:45 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* relaxng.c: fixing a deallocation problem in xmlRelaxNGParse()
|
* relaxng.c: fixing a deallocation problem in xmlRelaxNGParse()
|
||||||
|
@ -10556,8 +10556,6 @@ doc_load:
|
|||||||
invokingNode, NULL,
|
invokingNode, NULL,
|
||||||
"The document '%s' has no document element",
|
"The document '%s' has no document element",
|
||||||
schemaLocation, NULL);
|
schemaLocation, NULL);
|
||||||
xmlFreeDoc(doc);
|
|
||||||
doc = NULL;
|
|
||||||
goto exit_error;
|
goto exit_error;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@ -10572,8 +10570,6 @@ doc_load:
|
|||||||
invokingNode, NULL,
|
invokingNode, NULL,
|
||||||
"The XML document '%s' is not a schema document",
|
"The XML document '%s' is not a schema document",
|
||||||
schemaLocation, NULL);
|
schemaLocation, NULL);
|
||||||
xmlFreeDoc(doc);
|
|
||||||
doc = NULL;
|
|
||||||
goto exit_error;
|
goto exit_error;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user