diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-11-29 19:14:11 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-11-29 19:14:11 +0000 |
commit | aae0a4bd872d95792dfd6eb461ad2f689006d0e5 (patch) | |
tree | d4a4969b2115f4fa985fb6aaf31db9a2e1757a68 /llvm/docs/CommandGuide/FileCheck.rst | |
parent | c9e206f090dc9bf301c0d67c34cb602fabb0f242 (diff) | |
download | bcm5719-llvm-aae0a4bd872d95792dfd6eb461ad2f689006d0e5.tar.gz bcm5719-llvm-aae0a4bd872d95792dfd6eb461ad2f689006d0e5.zip |
Fix a memory leak in MachOObjectFile.
MachOObjectFile owns a MachOObj, but never frees it. Both MachOObjectFile
and MachOObj want to own the MemoryBuffer, though, so we have to be careful
and give them each one of their own.
Thanks to Greg Clayton, Eric Christopher and Michael Spencer for helping
figure out what's going wrong here.
rdar://12561773
llvm-svn: 168923
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
0 files changed, 0 insertions, 0 deletions