Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix memory leak of internal wrapping shapes for KoSvgTextShape.
Wolthera van Hövell tot Westerflier9051d5a14e4b
diff --git a/libs/flake/text/KoSvgTextShape_p.h b/libs/flake/text/KoSvgTextShape_p.hindex 2d429c944d..71373eb5b2 100644--- a/libs/flake/text/KoSvgTextShape_p.h+++ b/libs/flake/text/KoSvgTextShape_p.h@@ -465,6 +465,11 @@ public:disableFontMatching = rhs.disableFontMatching;}+ ~Private() {+ qDeleteAll(shapesInside);+ qDeleteAll(shapesSubtract);+ }+int xRes = 72;int yRes = 72;QList<KoShape*> shapesInside;