Skip to content
Verified Commit 03ec88ab authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix double-free corruption on exit

The mDecorations QTreeWidgetItem is owned by the QTreeWidget, which is owned
by KOPrefsDialogPlugins' parent widget. So when the parent widget deletes
the QTreeWidget, the decorations tree item is deleted as well and once
we enter KOPrefsDialogPlugins' destructor, mDecorations is a dangling
pointer by then.

(cherry picked from commit 87c20da4)

BUG: 483336
FIXED-IN: 24.02.2
parent 29d6331f
Pipeline #628941 passed with stage
in 1 minute and 56 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment