Commit 8a1bb5ae authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Valgrind: Fix early deletion of process

Change-Id: I4d2606b1a69ae3f071b4fe702cbaf63d102e5e14
Reviewed-by: default avatarChristian Kandeler <>
parent 7ba73416
......@@ -155,7 +155,7 @@ void CallgrindController::processFinished(int rc, QProcess::ExitStatus status)
QTC_ASSERT(m_process, return);
const QString error = m_process->errorString();
delete m_process;
m_process->deleteLater(); // Called directly from finished() signal in m_process
m_process = 0;
if (rc != 0 || status != QProcess::NormalExit) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment