tsan: add 'free' to java nonsense reports

llvm-svn: 169494
This commit is contained in:
Dmitry Vyukov 2012-12-06 12:42:53 +00:00
parent fd5ebcd1b0
commit fd1ba2af7d
1 changed files with 1 additions and 0 deletions

View File

@ -461,6 +461,7 @@ static bool IsJavaNonsense(const ReportDesc *rep) {
|| internal_strcmp(frame->func, "memcpy") == 0
|| internal_strcmp(frame->func, "strcmp") == 0
|| internal_strcmp(frame->func, "strncpy") == 0
|| internal_strcmp(frame->func, "free") == 0
|| internal_strcmp(frame->func, "pthread_mutex_lock") == 0)) {
frame = frame->next;
if (frame == 0