Skip to content
Commit 77769caa authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

Do not call malloc_zone_from_ptr() for the pointers passed to mz_size() and mz_free().

These callbacks assume that the memory belongs to asan_zone, so it's incorrect to pass it to another one.
If a need for this appears (e.g. system libraries free the memory using wrong zone), it should be documented.

llvm-svn: 159713
parent da225355
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment