diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2015-03-23 14:40:03 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2015-03-25 14:21:15 +0000 |
commit | f18840fa2861ef029357007a11f670d51062b581 (patch) | |
tree | 9ce1d4dea14cab5ffea18960ecb2c55f006629a5 /src/qml/qml/qqmlimport.cpp | |
parent | dca5e0ae837a798812069f966af4f1ba0fb7da97 (diff) |
Fixing yet another memory leak
Change-Id: I1c083a488f963f8dd40f3bd6db5a46ac9db66ffb
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlimport.cpp')
-rw-r--r-- | src/qml/qml/qqmlimport.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp index 370b221c92..6a5cab02fd 100644 --- a/src/qml/qml/qqmlimport.cpp +++ b/src/qml/qml/qqmlimport.cpp @@ -1973,9 +1973,8 @@ bool QQmlImportDatabase::importDynamicPlugin(const QString &filePath, const QStr QQmlError error; error.setDescription(loader->errorString()); errors->prepend(error); - - delete loader; } + delete loader; return false; } } else { |