[asan] remove the test for cfree. 'man cfree' says: 'This function should never be used.' and this function is not found on many OSes we support.

llvm-svn: 147301
This commit is contained in:
Kostya Serebryany 2011-12-27 23:42:55 +00:00
parent dd1386f882
commit 5469986da0
1 changed files with 0 additions and 3 deletions

View File

@ -255,9 +255,6 @@ TEST(AddressSanitizer, VariousMallocsTest) {
delete c;
#ifndef __APPLE__
// cfree
cfree(Ident(malloc(1)));
// fprintf(stderr, "posix_memalign\n");
int *pm;
int pm_res = posix_memalign((void**)&pm, kPageSize, kPageSize);