D9120: Fix a memory leak

Jaime Torres Amate noreply at phabricator.kde.org
Sun Dec 3 10:14:18 UTC 2017


jtamate added a comment.


  As I understand the problem, the reference was created (as a pointer) in setupForDomain, but was stored in a local reference in format (line 1221).
  As I'm not sure about the lifetime of the reference, I just delete it in the destructor.

REPOSITORY
  R249 KI18n

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

To: jtamate, #frameworks
Cc: apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171203/3a68d8a0/attachment.html>


More information about the Kde-frameworks-devel mailing list