This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] libomp: fix Windows build by vs2019
ClosedPublic

Authored by AndreyChurbanov on Jan 28 2021, 8:46 AM.

Diff Detail

Event Timeline

AndreyChurbanov requested review of this revision.Jan 28 2021, 8:46 AM
ABataev added inline comments.
openmp/runtime/src/kmp_settings.cpp
3381

Mem leak without free

openmp/runtime/src/kmp_settings.cpp
3381

The memory allocated with alloca is automatically feed, as it is just a stack.

hbae accepted this revision.Jan 28 2021, 5:11 PM

Looks good to me.

This revision is now accepted and ready to land.Jan 28 2021, 5:11 PM
This revision was landed with ongoing or failed builds.Jan 29 2021, 2:17 AM
This revision was automatically updated to reflect the committed changes.