Patch from Viktor Kutuzov: delete the temporary process we created when "process connect" fails.

llvm-svn: 153790
This commit is contained in:
Greg Clayton 2012-03-31 00:10:30 +00:00
parent d915503486
commit 1517dd33d9
1 changed files with 1 additions and 0 deletions

View File

@ -880,6 +880,7 @@ public:
{
result.AppendError(error.AsCString("Remote connect failed"));
result.SetStatus (eReturnStatusFailed);
target_sp->DeleteCurrentProcess();
return false;
}
}