Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1060

Location plugin loading code potentially leaks memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 1.1.0
    • Contacts, Location, Organizer
    • None

      The plugin loading code used for the Maps and Navigation API and the Landmarks API (and, from initial grepping of the source tree, Contacts and Organizer) doesn't unload plugins which are placed in the wrong directory.

      In these APIs QPluginLoader::instance() is called inside a qobject_cast. If the cast is unsuccessful nothing is done to call QPluginLoader::unload() for the plugin.

      The Feedback, Sensors, Multimedia and Service Framework APIs all appear to make use of QPluginLoader::unload(), so ideas could be gathered from how those APIs deal with the problem.

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

            dalaing David Laing (closed Nokia identity) (Inactive)
            dalaing David Laing (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes