Rémi Bernon (@rbernon) commented about dlls/ntdll/heap.c:
struct block *block; if (!RUNNING_ON_VALGRIND) return;
- if (!check_subheap( subheap )) return;
- if (!check_subheap( subheap, NULL )) return;
I think it's not much more change to pass the heap pointer here too, and then remove the `heap &&` in `check_subheap`.