summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-11-26 13:05:09 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-11-26 13:25:07 (GMT)
commitfe17f36823d0b2374e3ec7badb4c2ed2c938dba8 (patch)
tree8eb8020a8589f9a375fae05374004c8acfa986db /src/corelib/io
parent34d365bceae861c2322d09149f78476723dcb0c1 (diff)
downloadQt-fe17f36823d0b2374e3ec7badb4c2ed2c938dba8.zip
Qt-fe17f36823d0b2374e3ec7badb4c2ed2c938dba8.tar.gz
Qt-fe17f36823d0b2374e3ec7badb4c2ed2c938dba8.tar.bz2
Fix minor memory leak
QProcessPrivate::startDetached() in qprocess_symbian.cpp was leaking RProcess object. Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qprocess_symbian.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess_symbian.cpp b/src/corelib/io/qprocess_symbian.cpp
index 003e781..5b283a5 100644
--- a/src/corelib/io/qprocess_symbian.cpp
+++ b/src/corelib/io/qprocess_symbian.cpp
@@ -1050,6 +1050,7 @@ bool QProcessPrivate::startDetached(const QString &program, const QStringList &a
newProc->Resume();
newProc->Close();
+ delete newProc;
return true;
}