Fixing valgrind annotations in mem_heap_alloc_block for path added in ae189c6107f943f5273f9b2fce14ad17a396636c.

This commit is contained in:
Ruben Ayrapetyan
2014-08-07 21:08:07 +04:00
parent cc4d55803c
commit 2887332573
+4
View File
@@ -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;