summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-04-24 04:58:41 +0000
committerNico Weber <nicolasweber@gmx.de>2014-04-24 04:58:41 +0000
commit1f7b913611b3cb30b6e153915aa79a48006ee936 (patch)
tree713abdfbaf5d3459c9bcc09008547292a7a8eebd /lib/CodeGen/CodeGenFunction.cpp
parent07aa87612b01a9672e7703a99819c23416780a30 (diff)
downloadclang-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