assert( mFolder ); // George says "better to crash then lose mail" The configuration dialog creates temporary copies of the account when modifying one; but it doesn't delete that copy when closing with Cancel. What's more, the copied account started its own timer for interval-mail-checking, and when that timer fired, KMAcctCachedImap would crash due to mFolder=0. So: 1) delete things in the dtor to avoid the account memleak 2) don't start the mailcheck timer when simply setting the checkinterval of an account, only when the account is added to the AccountManager for real. (#117935) svn path=/trunk/KDE/kdepim/; revision=631941wilder-work
parent
2ebce6f21b
commit
bd9a11b36b
3 changed files with 30 additions and 8 deletions
Loading…
Reference in new issue