]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Fix crash in test-mail-storage
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 24 May 2017 20:49:43 +0000 (23:49 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 24 May 2017 20:49:43 +0000 (23:49 +0300)
src/lib-storage/test-mail-storage.c

index dce223b495445a7767496b45a70eaeb5c1b38f58..9bea9632b124b4be69e136312d60d93bee5545e6 100644 (file)
@@ -102,8 +102,6 @@ static void test_mail_storage_errors(void)
        test_assert(!storage.last_error_is_internal);
 
        mail_storage_clear_error(&storage);
-       i_assert(array_count(&storage.error_stack) == 0);
-       array_free(&storage.error_stack);
        test_end();
 }