[krita] [Bug 471543] Memory leak when sampling a hidden, color-labeled filter layer

Dmitry Kazakov bugzilla_noreply at kde.org
Thu Jun 29 15:37:56 BST 2023


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

Dmitry Kazakov <dimula73 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/4c93646
                   |                            |17167a1a195713366fc697ba734
                   |                            |de2735
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Dmitry Kazakov <dimula73 at gmail.com> ---
Git commit 4c9364617167a1a195713366fc697ba734de2735 by Dmitry Kazakov.
Committed on 29/06/2023 at 14:37.
Pushed by dkazakov into branch 'master'.

Fix a memory "leak" in LambdaCommand used in the fill tool

Lambdas can capture shared pointers, which can potentially prevent
temporary paint devices from being released. That is exactly what
happened in the tagged-fill tool, the reference paint device was
captured by the lambda and never freed (until the undo command is
expelled from the stack).

M  +6    -0    libs/command/kis_command_utils.cpp

https://invent.kde.org/graphics/krita/-/commit/4c9364617167a1a195713366fc697ba734de2735

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



More information about the kde-mac mailing list