Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1634

Qt Flag operations in python leak memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.11.0
    • PySide
    • None
    • Windows

    Description

      When an operation is performed on a Qt Flag in python, the resulting Qt Flag is never freed.

      See attached minimal example.

      This can be annoying because developers may want to manipulate flags in methods called often (e.g. 'QAbstractItemDelegate.sizeHint()') leading to major leaks.

      Attachments

        1. minimal.py
          0.8 kB
        2. pyside1634.py
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            oni oni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes