fvogt added a comment.
> Your shared pointer still goes out of scope, the group's handle to the kconfig object is still the same. If I read the code correctly, the group keeps the shared pointer, which means it owns a reference. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D13586 To: davidedmundson, #plasma Cc: ngraham, fvogt, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart