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

Memory leaks in QAlphaWidget and QRollEffect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.9.0
    • GUI: Other
    • None
    • All
    • b50a2761e (dev), c9ba8760d (6.9), e2beffe6f (6.8)

    Description

      The static variables q_blend and q_roll are set to null without calling deleteLater() first when they are not already null.

      We have fixed this locally with these changes.

      In QAlphaWidget::render() replace:
        q_blend = 0;
      and:
        q_blend = nullptr
      with:
        qFadeEffect( nullptr );

      In QRollEffect::scroll() replace:
        q_roll = nullptr;
      with:
        qScrollEffect( nullptr );

      This bug was discovered in Qt 6.5.1 but also exists in the latest version of the code.

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            stellartodd Todd Harrington
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes