Make test_alloc_realloc_many_attributes() robust vs allocations
This commit is contained in:
parent
11739c13da
commit
8ab97e4a96
@ -8683,7 +8683,9 @@ START_TEST(test_alloc_realloc_many_attributes)
|
|||||||
if (_XML_Parse_SINGLE_BYTES(parser, text, strlen(text),
|
if (_XML_Parse_SINGLE_BYTES(parser, text, strlen(text),
|
||||||
XML_TRUE) != XML_STATUS_ERROR)
|
XML_TRUE) != XML_STATUS_ERROR)
|
||||||
break;
|
break;
|
||||||
XML_ParserReset(parser, NULL);
|
/* See comment in test_alloc_parse_xdecl() */
|
||||||
|
alloc_teardown();
|
||||||
|
alloc_setup();
|
||||||
}
|
}
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
fail("Parse succeeded despite no reallocations");
|
fail("Parse succeeded despite no reallocations");
|
||||||
|
Loading…
Reference in New Issue
Block a user