D14453: Fixes memory leak of KItemListHeader

David Hallas noreply at phabricator.kde.org
Sun Jul 29 19:39:28 BST 2018


hallas added a comment.


  In D14453#300180 <https://phabricator.kde.org/D14453#300180>, @elvisangelaccio wrote:
  
  > But why doesn't the `KItemListView` have a parent? Who deletes `listView` then?
  
  
  I don't know :) I can just see from Address Sanitizer that the KItemListView was not being freed, and I traced this to the fact that the parent pointer is nullptr. Could this be caused by other code changes previously? So this is essentially a leftover from previous behavior?

REPOSITORY
  R318 Dolphin

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

To: hallas
Cc: elvisangelaccio, kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180729/c9eb4c5a/attachment.htm>


More information about the kfm-devel mailing list