Skip to content

[libnotificationmanager] Fix memory leak

Kai Uwe Broulik requested to merge cherry-pick-1960f105 into Plasma/5.18

In an &operator= we already have an object. It will have the d-pointer already allocated.

If we create a new private implementation our old one leaks

(cherry picked from commit 079552b3)

(cherry picked from commit 1960f105)


Even though we don't do regular 5.18 releases anymore I think this is a no-brainer to backport.

@davidedmundson @fvogt

Merge request reports