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/scripts/Python/append-debugger-id.py | |
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/scripts/Python/append-debugger-id.py')
-rw-r--r-- | lldb/scripts/Python/append-debugger-id.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/scripts/Python/append-debugger-id.py b/lldb/scripts/Python/append-debugger-id.py index ab119a86c40..26460c8dc40 100644 --- a/lldb/scripts/Python/append-debugger-id.py +++ b/lldb/scripts/Python/append-debugger-id.py @@ -21,6 +21,7 @@ except IOError: print "Error: Unable to open file for appending: " + output_name else: f_out.write ("debugger_unique_id = 0\n"); + f_out.write ("lldb.SBDebugger.Initialize()\n"); try: f_out.close() except IOError: |