Detected by LeakSanitizer for Darwin
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/llvm-objdump/MachODump.cpp | ||
---|---|---|
6050 ↗ | (On Diff #114862) | 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 | Any chance of an RAII API for this resource, to avoid the accident-prone manual cleanup/free? |
Any chance of an RAII API for this resource, to avoid the accident-prone manual cleanup/free?