diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-02-02 10:25:37 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-02-07 10:41:05 +0000 |
commit | 9b340999c4cb9db1975c4b63f3388899d9023944 (patch) | |
tree | a95ae295da4be657789b8a7d237db459f49d4938 /LICENSE.LGPLv3 | |
parent | 4459886e3f949821425dd5fd9fc9da0416d0ffc9 (diff) | |
download | qtquickcontrols-9b340999c4cb9db1975c4b63f3388899d9023944.tar.gz |
Fix memory leak in QQC1
When repeatedly creating a QQuickView, loading a QML file that imports
QQC1 and deleting the view again, we would leak memory that was
allocated as a consequence of QML type registration in
initializeEngine() callbacks that were called on every iteration.
After the limitation of namespacing in the registerTypes() callback of
QML module plugins has been lifted, we can move the type registrations
into registerTypes() where they belong and which is called only once.
Change-Id: I1d21b18dd060e169a1ee1095f5c5af7341443492
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions