diff options
Diffstat (limited to 'lldb/source/Commands')
-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 f45e926adc6..97ed205a1b0 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -566,6 +566,7 @@ protected: else { result.AppendError ("attach failed: process did not stop (no such process or permission problem?)"); + process->Destroy(); result.SetStatus (eReturnStatusFailed); return false; } |