commit | 73fc91275a4dc7cb0b0b12a8022319ea78c1f9fe | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Nov 16 20:45:51 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Nov 16 20:45:51 2010 +0000 |
tree | fdaf57c1f2ce5335a17f30e25985c0d464b816a1 | |
parent | e19df1839992d54d37624e617f410ac7dda87f07 [diff] |
Use an OwningPtr for the preamble buffer in ASTUnit. This plugs a leak where we failed to free this buffer along one of the paths, and detangles the code a little. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119379 91177308-0d34-0410-b5e6-96231b3b80d8