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

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/krit
                   |                            |a/0e6db278ae1498117d0fed781
                   |                            |0f342e6abed629b

--- Comment #3 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit 0e6db278ae1498117d0fed7810f342e6abed629b by Boudewijn Rempt.
Committed on 14/09/2016 at 07:23.
Pushed by rempt into branch 'master'.

The ownership management by the lut docker using a bool to
indicate that a display filter was our display filter was
broken and caused memory leaks. Fixing the memory leak caused
crashes.

Now all display filters are wrapped in a QSharedPointer, which
uglifies the code but fixes the issue.

M  +1    -1    libs/ui/canvas/kis_abstract_canvas_widget.h
M  +3    -4    libs/ui/canvas/kis_canvas2.cpp
M  +2    -2    libs/ui/canvas/kis_canvas2.h
M  +0    -4    libs/ui/canvas/kis_canvas_widget_base.cpp
M  +1    -1    libs/ui/canvas/kis_canvas_widget_base.h
M  +5    -6    libs/ui/canvas/kis_display_color_converter.cpp
M  +4    -4    libs/ui/canvas/kis_display_color_converter.h
M  +1    -1    libs/ui/canvas/kis_image_pyramid.cpp
M  +3    -3    libs/ui/canvas/kis_image_pyramid.h
M  +1    -1    libs/ui/canvas/kis_prescaled_projection.cpp
M  +1    -1    libs/ui/canvas/kis_prescaled_projection.h
M  +1    -1    libs/ui/canvas/kis_projection_backend.h
M  +1    -1    libs/ui/canvas/kis_qpainter_canvas.cpp
M  +1    -1    libs/ui/canvas/kis_qpainter_canvas.h
M  +4    -3    libs/ui/opengl/kis_opengl_canvas2.cpp
M  +2    -2    libs/ui/opengl/kis_opengl_canvas2.h
M  +1    -1    libs/ui/opengl/kis_opengl_shader_loader.cpp
M  +1    -1    libs/ui/opengl/kis_opengl_shader_loader.h
M  +42   -37   plugins/dockers/lut/lutdocker_dock.cpp
M  +3    -4    plugins/dockers/lut/lutdocker_dock.h

http://commits.kde.org/krita/0e6db278ae1498117d0fed7810f342e6abed629b

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

Reply via email to