commit | 1f7b913611b3cb30b6e153915aa79a48006ee936 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Thu Apr 24 04:58:41 2014 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Thu Apr 24 04:58:41 2014 +0000 |
tree | 713abdfbaf5d3459c9bcc09008547292a7a8eebd | |
parent | 07aa87612b01a9672e7703a99819c23416780a30 [diff] |
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