[Openmp-commits] [PATCH] D56804: Fix thread_limits to work properly for teams construct

Roman Lebedev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Apr 14 10:53:34 PDT 2019


lebedev.ri added a comment.
Herald added a subscriber: jdoerfert.

@tlwilmar are you registered on llvm's bugzilla?
This patch introduced a leak, please see https://bugs.llvm.org/show_bug.cgi?id=41494



================
Comment at: openmp/trunk/runtime/src/kmp_runtime.cpp:3869
 
+  kmp_cg_root_t *tmp = (kmp_cg_root_t *)__kmp_allocate(sizeof(kmp_cg_root_t));
+  tmp->cg_root = root_thread;
----------------
This is being leaked in the end


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56804/new/

https://reviews.llvm.org/D56804





More information about the Openmp-commits mailing list