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

QScroller::grabGesture() appears to leak its QFlickGestureRecognizer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10
    • None
    • Linux/X11
    • 49a87936e (dev), c831210d0 (6.9), a07073f90 (6.8), 9ea9818ee (dev), 2c9baee47 (6.9), 0a47ccbcd (6.8), d43da3f6b (tqtc/lts-6.5)

    Description

      When running tst_qscroller under ASAN, I get one QFlickGestureRecognizer leaked per QScroller::grabGesture() call in the test functions.

      That function doesn't return anything, and the test functions don't seem to leak by themselves (after https://codereview.qt-project.org/c/qt/qtbase/+/633963), so it looks like it's a problem of the function.

      ASAN report attached.

      Attachments

        For Gerrit Dashboard: QTBUG-135055
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: