diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 04:26:18 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 04:26:18 +0000 |
commit | 4fcf0c7b29cf1603eee6c103f71c1a6b2f833dfc (patch) | |
tree | e0cba88f72611bd2010c41b09e3cf050136eecf0 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
parent | 82098cb6dfc80dad8167c6dfbc036eb402ce52ff (diff) | |
download | llvm-4fcf0c7b29cf1603eee6c103f71c1a6b2f833dfc.zip llvm-4fcf0c7b29cf1603eee6c103f71c1a6b2f833dfc.tar.gz llvm-4fcf0c7b29cf1603eee6c103f71c1a6b2f833dfc.tar.bz2 |
Fix two test-only leaks found by LSan.
The result of getBufferForFile() must be freed.
(Should we change functions that expect the caller to assume ownership so
that they return unique_ptrs instead? Then the type system makes sure we get
this right.)
llvm-svn: 207074
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions