[Kde-pim] Review Request: Fix dangling pointer in MessageList::Core::Model (mOldestItem / mNewestItem)
Milian Wolff
mail at milianw.de
Tue Apr 27 11:05:56 BST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/3816/
-----------------------------------------------------------
Review request for KDE PIM and pragma.
Summary
-------
KMail 2 crashes very often for me due to dangling pointers. This patch adds asserts at a point where the items might get deleted.
I've first added the two additional conditionals as asserts and hence found those dangling pointers. Hope the 'fix' is correct.
@Pragma: Are there other places where the items might get deleted?
Diffs
-----
/trunk/KDE/kdepim/messagelist/core/model.cpp 1118945
Diff: http://reviewboard.kde.org/r/3816/diff
Testing
-------
run KMail 2 and switch between mail folders. Used to crash very often, esp. when you collapse groups and switch afterwards. Now it seems to be more stable.
Thanks,
Milian
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list