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

Valgrind reports a memory leak in QApplication::clipboard()->setText();

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.0.1
    • GUI: Workspace
    • None
    • Qt 5.0.1, valgrind 3.7.0, kubuntu 12.04, gcc 4.6.3

    Description

      Valgrind reports leak in `QApplication::clipboard()->setText("text");` call when closing application.

      A sample project attached.

      To reproduce:
      1. Run the project with Valgrind.
      2. Make sure you don't have anything important in the clipboard.
      3. Push the button.
      4. Close application's window.
      5. See Valgrind's output.

      The output I get is also attached.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            nurupo nurupo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes