diff options
author | Greg Clayton <gclayton@apple.com> | 2012-03-31 00:10:30 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-03-31 00:10:30 +0000 |
commit | 1517dd33d98e9ab203401c292308585126821e0b (patch) | |
tree | 8c48094a80c03da7fcbf144f5db0d0f726267b83 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | d915503486efcf64b9d1b8b2268fbc6d675a80b2 (diff) | |
download | llvm-1517dd33d98e9ab203401c292308585126821e0b.zip llvm-1517dd33d98e9ab203401c292308585126821e0b.tar.gz llvm-1517dd33d98e9ab203401c292308585126821e0b.tar.bz2 |
Patch from Viktor Kutuzov: delete the temporary process we created when "process connect" fails.
llvm-svn: 153790
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index ca83986..0dbf54f 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -880,6 +880,7 @@ public: { result.AppendError(error.AsCString("Remote connect failed")); result.SetStatus (eReturnStatusFailed); + target_sp->DeleteCurrentProcess(); return false; } } |