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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116345 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/append-debugger-id.py b/scripts/Python/append-debugger-id.py
index ab119a8..26460c8 100644
--- a/scripts/Python/append-debugger-id.py
+++ b/scripts/Python/append-debugger-id.py
@@ -21,6 +21,7 @@
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: