[all-commits] [llvm/llvm-project] 56f36f: [OpenMP][OMPT] Fix memory leak when using GCC comp...
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Thu Aug 11 13:26:42 PDT 2022
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2022-08-11 (Thu, 11 Aug 2022)
[OpenMP][OMPT] Fix memory leak when using GCC compatibility code
Serialized parallels allocate lightweight task teams on the heap
but never free them in the corresponding join. This patch adds a wrapper
around the allocation (if ompt enabled) and also adds the corresponding
free in the join call.
Differential Revision: https://reviews.llvm.org/D131690
More information about the All-commits