Make test_alloc_realloc_long_attribute_value() robust vs allocations
This commit is contained in:
parent
8311f7ad7a
commit
2c15ac7594
@ -9591,7 +9591,9 @@ START_TEST(test_alloc_realloc_long_attribute_value)
|
||||
if (_XML_Parse_SINGLE_BYTES(parser, text, strlen(text),
|
||||
XML_TRUE) != XML_STATUS_ERROR)
|
||||
break;
|
||||
XML_ParserReset(parser, NULL);
|
||||
/* See comment in test_alloc_parse_xdecl() */
|
||||
alloc_teardown();
|
||||
alloc_setup();
|
||||
}
|
||||
if (i == 0)
|
||||
fail("Parse succeeded despite failing reallocator");
|
||||
|
Loading…
Reference in New Issue
Block a user