[Openmp-commits] [openmp] r274850 - D22136: Memory leaks fixed by adding missed __kmp_free() calls
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 8 07:40:20 PDT 2016
Author: achurbanov
Date: Fri Jul 8 09:40:20 2016
New Revision: 274850
URL: http://llvm.org/viewvc/llvm-project?rev=274850&view=rev
Log:
D22136: Memory leaks fixed by adding missed __kmp_free() calls
Modified:
openmp/trunk/runtime/src/kmp_affinity.cpp
Modified: openmp/trunk/runtime/src/kmp_affinity.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_affinity.cpp?rev=274850&r1=274849&r2=274850&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_affinity.cpp (original)
+++ openmp/trunk/runtime/src/kmp_affinity.cpp Fri Jul 8 09:40:20 2016
@@ -227,6 +227,8 @@ __kmp_affinity_assign_child_nums(AddrUns
address2os[i].first.childNums[labCt] = 0;
}
}
+ __kmp_free(lastLabel);
+ __kmp_free(counts);
}
More information about the Openmp-commits
mailing list