From: Rémi Bernon <rbernon(a)codeweavers.com> The header data is defined from when the block was created, and this causes valgrind to report conditional jumps on uinitialized data. --- dlls/ntdll/heap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index e7a951fcfe8..8a02df35923 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -1964,7 +1964,6 @@ static NTSTATUS heap_free_block_lfh( struct heap *heap, ULONG flags, struct bloc if (bin == last) return STATUS_UNSUCCESSFUL; i = block_get_group_index( block ); - valgrind_make_writable( block, sizeof(*block) ); block_set_type( block, BLOCK_TYPE_FREE ); block_set_flags( block, ~BLOCK_FLAG_LFH, BLOCK_FLAG_FREE ); mark_block_free( block + 1, (char *)block + block_size - (char *)(block + 1), flags ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1074