diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-12-08 05:11:23 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-12-08 05:11:23 (GMT) |
commit | 3e1b7110c1161b740c32ed0ee390f7030e8208ed (patch) | |
tree | 3fe04069fa8bb1894283111ce9a9521b9636e6e2 /src/declarative/qml/qmlworkerscript.cpp | |
parent | ad2a9bd8f0c0b57e1e40f5f93af21c018ceac86e (diff) | |
download | Qt-3e1b7110c1161b740c32ed0ee390f7030e8208ed.zip Qt-3e1b7110c1161b740c32ed0ee390f7030e8208ed.tar.gz Qt-3e1b7110c1161b740c32ed0ee390f7030e8208ed.tar.bz2 |
Fix leaks.
Diffstat (limited to 'src/declarative/qml/qmlworkerscript.cpp')
-rw-r--r-- | src/declarative/qml/qmlworkerscript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlworkerscript.cpp b/src/declarative/qml/qmlworkerscript.cpp index 5c281bb..a0d6ef0 100644 --- a/src/declarative/qml/qmlworkerscript.cpp +++ b/src/declarative/qml/qmlworkerscript.cpp @@ -389,6 +389,7 @@ QmlWorkerScriptEngine::QmlWorkerScriptEngine(QObject *parent) QmlWorkerScriptEngine::~QmlWorkerScriptEngine() { + qDeleteAll(d->workers); delete d; d = 0; } |