Fix segfault due to deleted pruneTree call
Review Request #110675 - Created May 27, 2013 and submitted
Fix segfault due to deleted pruneTree call Commit faea6a3132fe78fd25e84e7adeeb3edddb89b46b changed the behavior, some of the messages still in the tree might now have a null pointer to the original TreeItemMessage. I've hit this assert myself when switching mailboxes (but only after a couple days). Commit is at https://github.com/jktjkt/trojita/commit/afd4676a97d08c653c2d27594e30765718816754 .
Added link to the git repo.
With my limited knowledge of this part of the source tree, I think this can go in. It compiles on my machine and since the only actual change is to check for the null pointer (which solves the problem), I think it's good.