]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Another unit test fix.
authorTimo Sirainen <tss@iki.fi>
Wed, 7 Jul 2010 12:44:26 +0000 (13:44 +0100)
committerTimo Sirainen <tss@iki.fi>
Wed, 7 Jul 2010 12:44:26 +0000 (13:44 +0100)
--HG--
branch : HEAD

src/dsync/test-dsync-brain.c

index 40c8f3c5b9d048e72eff0004521d1494ee97bb63..c103ae8eccf8f25c4b785aa8d3707fda9a78351a 100644 (file)
@@ -211,9 +211,9 @@ static void test_dsync_brain(void)
        test_assert(!test_dsync_worker_next_box_event(src_test_worker, &box_event));
        test_assert(!test_dsync_worker_next_box_event(dest_test_worker, &box_event));
 
+       dsync_brain_deinit(&brain);
        dsync_worker_deinit(&src_worker);
        dsync_worker_deinit(&dest_worker);
-       dsync_brain_deinit(&brain);
 
        test_end();
 }