summaryrefslogtreecommitdiff
path: root/testsuites
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/heapwalk/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/libtests/heapwalk/init.c b/testsuites/libtests/heapwalk/init.c
index 3bd6c91ce4..cd5caaa852 100644
--- a/testsuites/libtests/heapwalk/init.c
+++ b/testsuites/libtests/heapwalk/init.c
@@ -71,8 +71,11 @@ static void test_create_heap_with_gaps(void)
void *p5 = test_allocate_block();
/* void *p6 = */ test_allocate_block();
_Heap_Free( &TestHeap, p1 );
+ _Heap_Protection_free_all_delayed_blocks( &TestHeap );
_Heap_Free( &TestHeap, p3 );
+ _Heap_Protection_free_all_delayed_blocks( &TestHeap );
_Heap_Free( &TestHeap, p5 );
+ _Heap_Protection_free_all_delayed_blocks( &TestHeap );
}
static void *test_fill_heap(void)