Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0
-
None
-
583b1529894aca5e9ffa353f0547dfb4b8b0ab21 (oslo-staging-2)
Description
using QGLWidget in qt-4.6.0 (I get the source from gitorious) will cause several memory leaks. This can be produced by the following program:
int main(int argc, char *argv[]) { QApplication a(argc, argv); QGLWidget w; w.show(); int ret = a.exec(); int tmp = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); tmp |= _CRTDBG_LEAK_CHECK_DF; _CrtSetDbgFlag(tmp); return ret; }
you can see the leak after running this program with a debug version