Skip to content
Unverified Commit 4b479c1e authored by vlserov's avatar vlserov Committed by GitHub
Browse files

ASAN fix for test_malloc_regression (#415)



ASAN allocator never releases memory to OS, instead of it just marks those memory as "freed".
Generic OS functions for getting currently allocated memory aren't working correctly under ASAN.

- Using __sanitizer_get_current_allocated_bytes func instead of generic OS func for getting currently allocated memory

Signed-off-by: default avatarSerov, Vladimir <vladimir.serov@intel.com>
parent bf1f2ab6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment