https://bugs.kde.org/show_bug.cgi?id=415762

Kurt Hindenburg <kurt.hindenb...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/commit/d40e3c
                   |                            |72f2ad9262d6028bc62bc283706
                   |                            |7b824a0
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |20.08.0
         Resolution|---                         |FIXED

--- Comment #24 from Kurt Hindenburg <kurt.hindenb...@gmail.com> ---
Git commit d40e3c72f2ad9262d6028bc62bc2837067b824a0 by Kurt Hindenburg, on
behalf of Maximilian Schiller.
Committed on 29/05/2020 at 12:00.
Pushed by hindenburg into branch 'release/20.04'.

Fix konsolepart segfault when closing after showing context menu

Assign the _view as the parent to the KXMLGuiFactory because the
factory is referencing the view widget as its associated widget. Since
the TerminalDisplay gets destructed first this is now a dangling
pointer. If the view is set as the parent the factory gets cleaned up
correctly.  Also cleanup the created clientBuilder after destruction
because it can't have a parent and would probably leak memory.
FIXED-IN: 20.08.0
See also !87

(cherry picked from commit 1d7142ed24ef370ae984c0441d5b325b42656bd7)

M  +4    -2    src/SessionController.cpp

https://invent.kde.org/utilities/konsole/commit/d40e3c72f2ad9262d6028bc62bc2837067b824a0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to