D24210: KadeModeMenuList: fix memory leaks and others
noreply at phabricator.kde.org
Thu Sep 26 06:15:41 BST 2019
nibags added a comment.
`m_searchName` is a pointer to an attribute of a KateFileType object (which may be the string `translatedName` or `name`), but in some cases a new string is created.
I added the boolean `m_bHasNewSearchName` that is true when a new QString is created for search. This is much simpler.
Still, if you don't like it and prefer to use inline attributes, I can change it without problems =)
To: nibags, #ktexteditor, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel