diff options
| author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2016-07-08 14:40:20 +0000 |
|---|---|---|
| committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2016-07-08 14:40:20 +0000 |
| commit | cb28d6e3a0830deeed42187899e775009981af4c (patch) | |
| tree | 6740e817eb1c44297d8326c11afb81999250bfa0 /openmp/runtime/src | |
| parent | 42211eb125ae008b135ed1207e172a95611f487c (diff) | |
| download | bcm5719-llvm-cb28d6e3a0830deeed42187899e775009981af4c.tar.gz bcm5719-llvm-cb28d6e3a0830deeed42187899e775009981af4c.zip | |
D22136: Memory leaks fixed by adding missed __kmp_free() calls
llvm-svn: 274850
Diffstat (limited to 'openmp/runtime/src')
| -rw-r--r-- | openmp/runtime/src/kmp_affinity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_affinity.cpp b/openmp/runtime/src/kmp_affinity.cpp index e16f7c24632..fca87d9d5e9 100644 --- a/openmp/runtime/src/kmp_affinity.cpp +++ b/openmp/runtime/src/kmp_affinity.cpp @@ -227,6 +227,8 @@ __kmp_affinity_assign_child_nums(AddrUnsPair *address2os, address2os[i].first.childNums[labCt] = 0; } } + __kmp_free(lastLabel); + __kmp_free(counts); } |

