Fixing valgrind annotations in mem_heap_alloc_block for path added in ae189c6107f943f5273f9b2fce14ad17a396636c.
This commit is contained in:
@@ -363,7 +363,11 @@ mem_heap_alloc_block( size_t size_in_bytes, /**< size of region to all
|
||||
}
|
||||
else
|
||||
{
|
||||
VALGRIND_DEFINED_STRUCT( next_block_p);
|
||||
|
||||
next_block_p->neighbours[ MEM_DIRECTION_PREV ] = (mem_block_header_t*) new_free_block_first_chunk_p;
|
||||
|
||||
VALGRIND_NOACCESS_STRUCT( next_block_p);
|
||||
}
|
||||
|
||||
next_block_p = new_free_block_p;
|
||||
|
||||
Reference in New Issue
Block a user