summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-ranlib.rst
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-11-29 19:14:11 +0000
committerJim Grosbach <grosbach@apple.com>2012-11-29 19:14:11 +0000
commitaae0a4bd872d95792dfd6eb461ad2f689006d0e5 (patch)
treed4a4969b2115f4fa985fb6aaf31db9a2e1757a68 /llvm/docs/CommandGuide/llvm-ranlib.rst
parentc9e206f090dc9bf301c0d67c34cb602fabb0f242 (diff)
downloadbcm5719-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/llvm-ranlib.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud