Index: lldb/source/API/SBValue.cpp =================================================================== --- lldb/source/API/SBValue.cpp +++ lldb/source/API/SBValue.cpp @@ -1356,7 +1356,7 @@ } } - return LLDB_RECORD_RESULT(SBAddress(new Address(addr))); + return LLDB_RECORD_RESULT(SBAddress(&addr)); } lldb::SBData SBValue::GetPointeeData(uint32_t item_idx, uint32_t item_count) {