]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Debug logging was attempting to read already freed memory.
authorTimo Sirainen <tss@iki.fi>
Sat, 21 Feb 2015 09:40:40 +0000 (11:40 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 21 Feb 2015 09:40:40 +0000 (11:40 +0200)
src/doveadm/dsync/dsync-mailbox-tree-sync.c

index 6d367879cb0d5eef276f27a606ceb6448f130bbe..7285501f2b07fe3693715ad9e378daad1f58152c 100644 (file)
@@ -887,10 +887,8 @@ static bool sync_rename_mailboxes(struct dsync_mailbox_tree_sync_ctx *ctx,
                        changed = FALSE;
                } else {
                        /* mailbox naming conflict */
-                       T_BEGIN {
-                               changed = sync_rename_conflict(ctx, local_node,
-                                                              remote_node, &reason);
-                       } T_END;
+                       changed = sync_rename_conflict(ctx, local_node,
+                                                      remote_node, &reason);
                }
                /* handle children, if there are any */
                if (debug != NULL) {