D20079: Fix crash due to using an attribute from a collection that went out of scope
David Faure
noreply at phabricator.kde.org
Thu Mar 28 20:58:38 GMT 2019
dfaure added a comment.
Well, it's a copy of that collection, and the recent const/non-const change makes us detach that copy.
The alternative fix is to make that parentCollection variable const, then it will work like before. But it still reads to me like we're pointing into something that went out of scope (although with the implicit sharing it won't be the case anymore).
REPOSITORY
R170 Akonadi Calendar
BRANCH
Applications/19.04
REVISION DETAIL
https://phabricator.kde.org/D20079
To: dfaure, dvratil, winterz
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190328/9ced5f9f/attachment.html>
More information about the kde-pim
mailing list