[Openmp-commits] [PATCH] D95627: [OpenMP] libomp: fix Windows build by vs2019
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 28 08:56:45 PST 2021
AndreyChurbanov added inline comments.
================
Comment at: openmp/runtime/src/kmp_settings.cpp:3381
+ omp_alloctrait_t *traits =
+ (omp_alloctrait_t *)KMP_ALLOCA(ntraits * sizeof(omp_alloctrait_t));
----------------
ABataev wrote:
> Mem leak without free
The memory allocated with alloca is automatically feed, as it is just a stack.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95627/new/
https://reviews.llvm.org/D95627
More information about the Openmp-commits
mailing list