[ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows

llvm-svn: 151051
This commit is contained in:
Timur Iskhodzhanov
2012-02-21 09:58:39 +00:00
parent 362087bcba
commit f2061453bd

View File

@@ -695,11 +695,6 @@ static void Deallocate(uint8_t *ptr, AsanStackTrace *stack) {
Describe((uintptr_t)ptr, 1);
ShowStatsAndAbort();
} else if (m->chunk_state != CHUNK_ALLOCATED) {
if (ASAN_WINDOWS) {
// FIXME: On Windows there are a few extra "unknown free()s"
// from __endstdio, need investigating.
return;
}
Report("ERROR: AddressSanitizer attempting free on address which was not"
" malloc()-ed: %p\n", ptr);
stack->PrintStack();