mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-20 03:52:25 +03:00
end of first pass on coverity reports. Daniel
* runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first pass on coverity reports. Daniel
This commit is contained in:
@@ -53,6 +53,7 @@ testRegexpFile(const char *filename) {
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
"Cannot create automata\n");
|
||||
fclose(input);
|
||||
return;
|
||||
}
|
||||
states[0] = xmlAutomataGetInitState(am);
|
||||
if (states[0] == NULL) {
|
||||
@@ -60,6 +61,7 @@ testRegexpFile(const char *filename) {
|
||||
"Cannot get start state\n");
|
||||
xmlFreeAutomata(am);
|
||||
fclose(input);
|
||||
return;
|
||||
}
|
||||
ret = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user