llvm-project/lldb/source/Plugins/InstrumentationRuntime
Slava Gurevich 1fe72001e8 [LLDB][NFC] Fix memory leak in IntstumentationRuntimeTSan.cpp
ConvertToStructuredArray() relies on its caller to deallocate the heap-allocated object pointer it returns. One of its call-sites, in GetRenumberedThreadIds(), fails to deallocate causing a memory/resource leak. Fix the memory leak by converting the return type to shared_ptr, and clean up the rest of the file to use the typedef-ed shared_ptr types for StructuredData for safety and consistency.

Differential Revision: https://reviews.llvm.org/D131900
2022-08-16 14:34:50 -07:00
..
ASan [lldb] Migrate runtime instrumentation plugins to ReportWarning 2022-03-16 23:20:58 -07:00
MainThreadChecker Remove redundant string initialization (NFC) 2021-12-26 09:39:26 -08:00
TSan [LLDB][NFC] Fix memory leak in IntstumentationRuntimeTSan.cpp 2022-08-16 14:34:50 -07:00
UBSan [lldb] Migrate runtime instrumentation plugins to ReportWarning 2022-03-16 23:20:58 -07:00
CMakeLists.txt