commit | 0cbb93b98a5c786bf244cfc2a8cf75259be7e4e1 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Sat Mar 31 00:10:30 2012 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Sat Mar 31 00:10:30 2012 +0000 |
tree | a865f5f440fbf49f0ea6138d8ca5cc87de400f21 | |
parent | 86b391bd742589c2b243e7c4beb5fa522ee0c481 [diff] [blame] |
Patch from Viktor Kutuzov: delete the temporary process we created when "process connect" fails. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153790 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectProcess.cpp b/source/Commands/CommandObjectProcess.cpp index ca83986..0dbf54f 100644 --- a/source/Commands/CommandObjectProcess.cpp +++ b/source/Commands/CommandObjectProcess.cpp
@@ -880,6 +880,7 @@ { result.AppendError(error.AsCString("Remote connect failed")); result.SetStatus (eReturnStatusFailed); + target_sp->DeleteCurrentProcess(); return false; } }