Merging r287551:
------------------------------------------------------------------------
r287551 | jlpeyton | 2016-11-21 10:18:57 -0600 (Mon, 21 Nov 2016) | 8 lines

Fix for D25504 - segfault because of double free()-ing in shutdown code.

Paul Osmialowski pointed out a double free bug in shutdown code.  This patch
Moves the freeing of the implicit task to above the freeing of all fast memory
to prevent the double-free issue.

Differential Revision: https://reviews.llvm.org/D26860

------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/openmp/branches/release_39@287560 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed
tree: 9777c4f3592657fbd5897e5951c4b713b326a74b
  1. CMakeLists.txt
  2. CREDITS.txt
  3. LICENSE.txt
  4. offload/
  5. runtime/
  6. testsuite/
  7. www/