Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
5.12.10, 5.15.3, 6.0.2
-
None
Description
Reproduce:
Start any Qt Application with -platform vnc
int main() { char arg0[] = "./app"; char arg1[] = "-platform"; char arg2[24] = "vnc"; char* argv[] = {arg0, arg1, arg2}; QApplication app ( 3, argv ); // Create e.g. a window... return app.exec(); }
Fix:
Add delete in qtbase/src/plugins/platforms/vnc/qvncscreen.cpp destructor.
QVncScreen::~QVncScreen()
{
...
if (dirty)
delete dirty;
}
This fix has been thoroughly tested only with Qt 5.12.10.