D28367: KServiceAction: store parent service

Vlad Zahorodnii noreply at phabricator.kde.org
Thu Jul 3 13:59:23 BST 2025


zzag added a comment.


  `serviceClone` is leaked because both `KServiceAction` and `KService` hold strong references to each other. In other words, when you destroy a `KService` with actions, you always leak a bit of memory. At the moment, I'm not sure how to resolve the issue without breaking the API compatibility.

REPOSITORY
  R309 KService

REVISION DETAIL
  https://phabricator.kde.org/D28367

To: dfaure, broulik, davidedmundson
Cc: zzag, kde-frameworks-devel, liuyanjikde, LeGast00n, cblack, michaelh, ahmadsamir, ngraham, bruns, vkrause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20250703/b9aa93a8/attachment.htm>


More information about the Kde-frameworks-devel mailing list