commit | 85f19958e9f51a3631fe94ac9c7cda725d03eb2c | [log] [tgz] |
---|---|---|
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | Wed Sep 27 18:12:31 2017 +0000 |
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | Wed Sep 27 18:12:31 2017 +0000 |
tree | a27423f1ba264da47c7d2da7ad109082cd8d666d | |
parent | b9b18675193cd7410eae2cb5bebf3c2b93a3feaa [diff] |
[OpenMP] Fix memory leak when translating arguments Parsing the argument after -Xopenmp-target allocates memory that needs to be freed. Associate it with the final DerivedArgList after we know which one will be used. Differential Revision: https://reviews.llvm.org/D38257 llvm-svn: 314328