When imapc_storage_attribute_context_destroy() is invoked from
imapc_storage_attribute_iter_destroy(), *_actx resides inside
the actx->pool that is going to be unreferenced.
Broken by
ae33493d89136f4982b5ee6e8b0f66ff57cea721
imapc_storage_attribute_context_destroy(struct imapc_storage_attribute_context **_actx)
{
struct imapc_storage_attribute_context *actx = *_actx;
- pool_unref(&actx->pool);
*_actx = NULL;
+ pool_unref(&actx->pool);
}
static struct imapc_storage_attribute_iter *imapc_storage_attribute_iter_create()