diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-11-26 13:05:09 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-11-26 13:25:07 (GMT) |
commit | fe17f36823d0b2374e3ec7badb4c2ed2c938dba8 (patch) | |
tree | 8eb8020a8589f9a375fae05374004c8acfa986db | |
parent | 34d365bceae861c2322d09149f78476723dcb0c1 (diff) | |
download | Qt-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
-rw-r--r-- | src/corelib/io/qprocess_symbian.cpp | 1 |
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; } |