[all-commits] [llvm/llvm-project] 28b869: [NFC] Fix leak handling breakpoint names.
Jordan Rupprecht via All-commits
all-commits at lists.llvm.org
Thu Dec 8 17:14:53 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28b869d8724207bd7fd8b80f57f6c02abe4bc607
https://github.com/llvm/llvm-project/commit/28b869d8724207bd7fd8b80f57f6c02abe4bc607
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2022-12-08 (Thu, 08 Dec 2022)
Changed paths:
M lldb/include/lldb/Target/Target.h
M lldb/source/Target/Target.cpp
Log Message:
-----------
[NFC] Fix leak handling breakpoint names.
The breakpoint list is a list of raw pointers. When breakpoints are removed, the memory is not deleted. Switch to unique pointers. I did some minor cleanup while making this change.
Found by the LLDB command interpreter fuzzer. The input is `br m G`.
More information about the All-commits
mailing list