diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-29 06:52:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-29 06:58:16 +0200 |
commit | a8f0d941c3ec26eb972ab3a98a9d383cd6726e2a (patch) | |
tree | 06494f3cf2a3f2c09e4c9155538c26bf15d3a9ea /testsuites/libtests/heapwalk/init.c | |
parent | cfe8f7a9b7e23590760874992fc461fe4a74964c (diff) |
libtests/heapwalk: Fix for RTEMS_DEBUG
Update #2962.
Diffstat (limited to 'testsuites/libtests/heapwalk/init.c')
-rw-r--r-- | testsuites/libtests/heapwalk/init.c | 3 |
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) |