diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-09-02 19:37:12 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-09-02 19:37:12 +0000 |
commit | 0cbd31b98f64b16e23d0fa803c22e917a5733043 (patch) | |
tree | 8c135d08c62d29664ab9ebc75156714af78b37ac /runtime/src/kmp_affinity.cpp | |
parent | 3a587a8c430bd8320cc0ca2b5f2f7c519949f60d (diff) |
Replace a bad instance of __kmp_free() with KMP_CPU_FREE_ARRAY() macro.
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@280530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/src/kmp_affinity.cpp')
-rw-r--r-- | runtime/src/kmp_affinity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/kmp_affinity.cpp b/runtime/src/kmp_affinity.cpp index 594d8e4..fe987d8 100644 --- a/runtime/src/kmp_affinity.cpp +++ b/runtime/src/kmp_affinity.cpp @@ -4141,7 +4141,7 @@ __kmp_aux_affinity_initialize(void) KMP_ASSERT2(0, "Unexpected affinity setting"); } - __kmp_free(osId2Mask); + KMP_CPU_FREE_ARRAY(osId2Mask, maxIndex+1); machine_hierarchy.init(address2os, __kmp_avail_proc); } #undef KMP_EXIT_AFF_NONE |