Skip to content

armgit / krita

Public Imported from GitHub
0

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++

Properly dispose of the SAP object

Luna Lovecraft6a77a1867a4f
diff --git a/libs/ui/kis_selection_decoration.cc b/libs/ui/kis_selection_decoration.cc
index 960bf23e50..b112065264 100644
--- a/libs/ui/kis_selection_decoration.cc
+++ b/libs/ui/kis_selection_decoration.cc
@@ -73,6 +73,7 @@ KisSelectionDecoration::KisSelectionDecoration(QPointer<KisView>_view)
KisSelectionDecoration::~KisSelectionDecoration()
{
+ delete m_selectionActionsPanel;
}
KisSelectionDecoration::Mode KisSelectionDecoration::mode() const