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

Memory leak in undo example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.7.2
    • 4.7.0
    • Examples and Demos
    • None
    • all platforms
    • 4859880f3bac7dd819839e014a019326c8dfd5ac

      The following file causes a memory leak:
      examples/tools/undoframework/mainwindow.cpp

      The offending line is:
      undoStack = new QUndoStack();

      Change to
      undoStack = new QUndoStack(this);

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

            boddie David Boddie (Inactive)
            rolrolrol Roland Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes