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

Memoryleak in QLibraryPrivate: No unload for QImageIOPlugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.0.0
    • 4.5.1
    • Core: Plugins
    • None
    • I3cd3e071b34271bf5802ab09f6c125beda5e9844

      Qt plugin instances are never deleted. For example when loading a SVG document, the svg plugin is loaded and the QSvgPlugin object is constructed, however it is never deleted.

      int main(int argc, char *argv[])
      {
          _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
      
          QApplication a(argc, argv);
          QIcon icon = QIcon("C:/qt/4.5.1/demos/browser/data/browser.svg");
      
          return 0; //a.exec();
      }
      

        1. factory_leak1.patch
          15 kB
        2. factory_leak2.patch
          6 kB
        3. factoryloader.patch
          15 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            w00t Robin Burchell
            dzyubenk Denis Dzyubenko (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes