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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/bre
                   |                            |eze/cf12bf4a077def21a8bacf4
                   |                            |cd3c9650e5c051480

--- Comment #3 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit cf12bf4a077def21a8bacf4cd3c9650e5c051480 by Vlad Zahorodnii.
Committed on 28/01/2020 at 16:12.
Pushed by vladz into branch 'master'.

[kstyle] Unregister a shadow when it's destroyed

Summary:
Since lifetime of a KWindowShadow doesn't strictly match the lifetime
of the associated widget, we need to unregister the shadow when it's
destroyed in order to prevent accessing or deleting dangling pointers
afterwards.

Test Plan: plasmashell no longer crashes.

Reviewers: #plasma, broulik

Subscribers: apol, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26966

M  +5    -1    kstyle/breezeshadowhelper.cpp

https://commits.kde.org/breeze/cf12bf4a077def21a8bacf4cd3c9650e5c051480

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

Reply via email to