From 4ab31c98e6b0520c0c4bf8dd1f5f56ee588c9de0 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Tue, 12 Oct 2010 21:57:09 +0000 Subject: 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 --- lldb/scripts/Python/append-debugger-id.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/scripts/Python/append-debugger-id.py') 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: -- cgit v1.2.3