diff options
author | Caroline Tice <ctice@apple.com> | 2010-10-12 21:57:09 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2010-10-12 21:57:09 +0000 |
commit | 4ab31c98e6b0520c0c4bf8dd1f5f56ee588c9de0 (patch) | |
tree | a19f9ddb83b4b9fa3cfce58aebec81a31d39fff1 /lldb/source/Breakpoint/BreakpointIDList.cpp | |
parent | 48daa1fddbe68cd388aaafed6472b23c6efb4f18 (diff) | |
download | bcm5719-llvm-4ab31c98e6b0520c0c4bf8dd1f5f56ee588c9de0.tar.gz bcm5719-llvm-4ab31c98e6b0520c0c4bf8dd1f5f56ee588c9de0.zip |
Fix some memory leaks.
Add call to lldb.SBDebugger.Initialize() to lldb.py, so it automatically gets called when
the lldb Python module gets loaded.
llvm-svn: 116345
Diffstat (limited to 'lldb/source/Breakpoint/BreakpointIDList.cpp')
-rw-r--r-- | lldb/source/Breakpoint/BreakpointIDList.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/BreakpointIDList.cpp b/lldb/source/Breakpoint/BreakpointIDList.cpp index 3f3e8a15f91..50a89c72066 100644 --- a/lldb/source/Breakpoint/BreakpointIDList.cpp +++ b/lldb/source/Breakpoint/BreakpointIDList.cpp @@ -181,7 +181,6 @@ BreakpointIDList::FindAndReplaceIDRanges (Args &old_args, Target *target, Comman if (BreakpointIDList::StringContainsIDRangeExpression (current_arg, &range_start_len, &range_end_pos)) { is_range = true; - range_start = (char *) malloc (range_start_len + 1); range_start.assign (current_arg, range_start_len); range_end = current_arg + range_end_pos; } |