mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-18 02:55:43 +00:00
Make test_alloc_realloc_ce_extends_pe() robust vs allocation changes
This commit is contained in:
parent
a879906c08
commit
165bfa94ef
1 changed files with 3 additions and 1 deletions
|
@ -9875,7 +9875,9 @@ START_TEST(test_alloc_realloc_ce_extends_pe)
|
|||
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…
Add table
Reference in a new issue