# HG changeset patch # User Timo Sirainen # Date 1174840396 -10800 # Node ID fd57e9c99846d8a54500f77975b9373e2b79fd36 # Parent c7a3410a8f1f56b71860cb22300aa3b675d0a9e2 crashcheck diff -r c7a3410a8f1f -r fd57e9c99846 src/lib-storage/index/index-transaction.c --- a/src/lib-storage/index/index-transaction.c Sun Mar 25 19:26:09 2007 +0300 +++ b/src/lib-storage/index/index-transaction.c Sun Mar 25 19:33:16 2007 +0300 @@ -70,6 +70,10 @@ (flags & MAILBOX_TRANSACTION_FLAG_EXTERNAL) != 0); it = MAIL_STORAGE_TRANSACTION(t); + if (it == NULL) { + i_panic("mail storage transaction context mising for type %s", + box->storage->name); + } it->flags = flags; return &it->mailbox_ctx; }