Avoid leaking the QPlatformTextureList
Task-number: QTBUG-45395 Change-Id: I8fbdc5136d7d15b9c131d6b91186a1bf2645e4d4 Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
This commit is contained in:
parent
fa1b2dc4a0
commit
db52d55fba
@ -762,6 +762,7 @@ QWidgetBackingStore::~QWidgetBackingStore()
|
||||
resetWidget(dirtyRenderToTextureWidgets.at(c));
|
||||
|
||||
#ifndef QT_NO_OPENGL
|
||||
delete widgetTextures;
|
||||
delete dirtyOnScreenWidgets;
|
||||
#endif
|
||||
dirtyOnScreenWidgets = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user