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

--- Comment #2 from Dmitry Kazakov <[email protected]> ---
Git commit 6dfd56d27975ebd0ed609e28f1d62794d98ac38a by Dmitry Kazakov.
Committed on 26/04/2018 at 17:29.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: memory leaks in unittests

V773 The function was exited without releasing the pointer.
     A memory leak is possible.

M  +5    -5    libs/brush/tests/kis_gbr_brush_test.cpp
M  +15   -28   libs/brush/tests/kis_imagepipe_brush_test.cpp
M  +2    -5    libs/image/tests/kis_clone_layer_test.cpp
M  +21   -30   libs/image/tests/kis_iterator_test.cpp
M  +21   -32   libs/image/tests/kis_iterators_ng_test.cpp
M  +3    -4    libs/image/tests/kis_simple_update_queue_test.cpp
M  +1    -2    libs/widgets/tests/zoomhandler_test.cpp
M  +1    -2   
plugins/paintops/libpaintop/tests/kis_embedded_pattern_manager_test.cpp

https://commits.kde.org/krita/6dfd56d27975ebd0ed609e28f1d62794d98ac38a

--- Comment #3 from Dmitry Kazakov <[email protected]> ---
Git commit cb0f9e3a424a6e05a35eb597ac459bfb6fc52416 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:29.
Pushed by dkazakov into branch 'master'.

Fix PVS Studio warning: avoid non-used return value warning in benchmarks

V530 The return value of function 'atan2' is required to be utilized.
V530 The return value of function 'drand48' is required to be utilized.

M  +2    -1    benchmarks/kis_fast_math_benchmark.cpp
M  +2    -1    benchmarks/kis_stroke_benchmark.cpp

https://commits.kde.org/krita/cb0f9e3a424a6e05a35eb597ac459bfb6fc52416

--- Comment #4 from Dmitry Kazakov <[email protected]> ---
Git commit 6ed8fb329f8326444d983f5bb79c08bc982ab428 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:30.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: reordered function arguments

Just a misprint or copy-paste

M  +1    -1    benchmarks/kis_gradient_benchmark.cpp
M  +1    -1    benchmarks/kis_random_iterator_benchmark.cpp
M  +1    -1   
plugins/flake/textshape/kotext/opendocument/KoTextSharedLoadingData.cpp

https://commits.kde.org/krita/6ed8fb329f8326444d983f5bb79c08bc982ab428

--- Comment #5 from Dmitry Kazakov <[email protected]> ---
Git commit 7be37e4a8091c7cf0fd50fbc67e9eebafa4071b2 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:30.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: implicit int->qreal conversions cause precision loss

V601: The bool type is implicitly cast to the integer type
V636: Expression was implicitly cast from 'int' type to 'double' type

M  +1    -1    libs/flake/KoImageData_p.cpp
M  +1    -1    libs/ui/widgets/KisVisualEllipticalSelectorShape.cpp
M  +2    -2    libs/ui/widgets/KisVisualRectangleSelectorShape.cpp
M  +1    -1    libs/ui/widgets/kis_preset_live_preview_view.cpp
M  +2    -2    libs/widgets/KoPagePreviewWidget.cpp
M  +1    -1    libs/widgets/KoRuler.cpp
M  +6    -5   
plugins/dockers/advancedcolorselector/kis_color_selector_wheel.cpp
M  +1    -4    plugins/flake/pathshapes/enhancedpath/EnhancedPathFormula.cpp
M  +2    -2    plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp
M  +3    -3    plugins/tools/tool_smart_patch/kis_inpaint.cpp
M  +1    -1   
plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp

https://commits.kde.org/krita/7be37e4a8091c7cf0fd50fbc67e9eebafa4071b2

--- Comment #6 from Dmitry Kazakov <[email protected]> ---
Git commit 6960317945ed3d44cc5d5ad5c6299d206c52aac6 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:30.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: possible memory leaks in production code

Most of the leaks are hardly reproducible in normal circumstances. But
the one in PNG converter is huge. PNG converter also had an invalid null
pointer access, which didn't crash Krita only by a happy coincidence.

M  +5    -7    libs/flake/svg/SvgParser.cpp
M  +3    -3    libs/ui/input/kis_input_manager_p.cpp
M  +46   -30   libs/ui/kis_png_converter.cpp
M  +5    -1    plugins/flake/textshape/TextTool.cpp
M  +8    -7    plugins/flake/textshape/kotext/BibliographyGenerator.cpp
M  +1    -0    plugins/flake/textshape/kotext/KoAnchorTextRange.cpp
M  +1    -0    plugins/flake/textshape/kotext/OdfTextTrackStyles.cpp
M  +6    -8    plugins/flake/textshape/kotext/opendocument/KoTextWriter.cpp
M  +18   -11   plugins/flake/textshape/kotext/opendocument/KoTextWriter_p.cpp
M  +4    -3    plugins/flake/textshape/kotext/opendocument/KoTextWriter_p.h
M  +3    -3    plugins/impex/ppm/kis_ppm_import.cpp
M  +3    -6    plugins/impex/psd/psd_layer_section.cpp
M  +2    -5   
plugins/tools/karbonplugins/tools/filterEffectTool/FilterEffectResource.cpp

https://commits.kde.org/krita/6960317945ed3d44cc5d5ad5c6299d206c52aac6

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

Reply via email to