Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6116

memory leak in QGLWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.1
    • 4.6.0
    • GUI: OpenGL
    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkalland Kim Motoyoshi Kalland (Inactive)
            jianliang79 liang jian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes