mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
fixed the validation of sequences content model when some of the blocks
* xmlregexp.c xmlschemas.c: fixed the validation of sequences content model when some of the blocks have min or max, and a couple of bugs found in the process. * result/schemas/list0* test/schemas/list0*: added some specific regression tests Daniel
This commit is contained in:
@ -2335,8 +2335,10 @@ xmlRegFreeExecCtxt(xmlRegExecCtxtPtr exec) {
|
||||
if (exec->inputStack != NULL) {
|
||||
int i;
|
||||
|
||||
for (i = 0;i < exec->inputStackNr;i++)
|
||||
xmlFree(exec->inputStack[i].value);
|
||||
for (i = 0;i < exec->inputStackNr;i++) {
|
||||
if (exec->inputStack[i].value != NULL)
|
||||
xmlFree(exec->inputStack[i].value);
|
||||
}
|
||||
xmlFree(exec->inputStack);
|
||||
}
|
||||
xmlFree(exec);
|
||||
|
Reference in New Issue
Block a user