[lsan] Fix test.

llvm-svn: 185817
This commit is contained in:
Sergey Matveev 2013-07-08 14:08:05 +00:00
parent bdeff959a1
commit ddd7b6a1c8
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ void ExitFromThread() {
int res;
res = pthread_create(&tid, 0, exit_thread_func, 0);
assert(res == 0);
res = pthread_join(tid, 0);
assert(res == 0);
pthread_join(tid, 0);
}
int main() {