diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 04:58:41 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 04:58:41 +0000 |
| commit | 1f7b913611b3cb30b6e153915aa79a48006ee936 (patch) | |
| tree | 713abdfbaf5d3459c9bcc09008547292a7a8eebd /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 07aa87612b01a9672e7703a99819c23416780a30 (diff) | |
| download | clang-1f7b913611b3cb30b6e153915aa79a48006ee936.tar.gz clang-1f7b913611b3cb30b6e153915aa79a48006ee936.tar.bz2 clang-1f7b913611b3cb30b6e153915aa79a48006ee936.tar.xz | |
Fix two leaks found by LSan (one is test-only).
The result of llvm::MemoryBuffer::getMemBuffer() needs to be freed. Don't
pass "don't free" flag to overrideFileContents() to fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
