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

Possible memory leak when a network request for an image is interrupted during loading.

    XMLWordPrintable

Details

    • 966fe022d5b4a9f108138c0b0889d07d46f8e0ca

    Description

      If an image request from the pixmap cache is cancelled before it completes loading, the QDeclarativePixmapReply seems to avoid destruction.

      It would seem a reply object is created with every request, but only destroyed if the request is successfully completed.

      Calling deleteLater() from the requesting object when the request is cancelled seems to get the correct behaviour, although it would be more convenient if it was handled in the cache.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            debhal Julian de Bhal (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes