Detected by LeakSanitizer for Darwin
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 10135 Build 10135: arc lint + arc unit
Event Timeline
tools/llvm-objdump/MachODump.cpp | ||
---|---|---|
6050 | Ugh, that is a confusing call. xar_extract_tobuffersz will allocate the buffer, so, yeah, the allocation there was unnecessary. |
llvm/trunk/tools/llvm-objdump/MachODump.cpp | ||
---|---|---|
5884 ↗ | (On Diff #115036) | Any chance of an RAII API for this resource, to avoid the accident-prone manual cleanup/free? |
Ugh, that is a confusing call. xar_extract_tobuffersz will allocate the buffer, so, yeah, the allocation there was unnecessary.