forked from OSchip/llvm-project
D22136: Memory leaks fixed by adding missed __kmp_free() calls
llvm-svn: 274850
This commit is contained in:
parent
42211eb125
commit
cb28d6e3a0
|
@ -227,6 +227,8 @@ __kmp_affinity_assign_child_nums(AddrUnsPair *address2os,
|
|||
address2os[i].first.childNums[labCt] = 0;
|
||||
}
|
||||
}
|
||||
__kmp_free(lastLabel);
|
||||
__kmp_free(counts);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue