dovecot-2.2: replicator: Fixed crash on deinit

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:24 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/3b258bb9a03f
changeset: 14271:3b258bb9a03f
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Mar 04 12:07:21 2012 +0200
description:
replicator: Fixed crash on deinit

diffstat:

 src/replication/replicator/replicator-queue.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 633e587446d8 -r 3b258bb9a03f src/replication/replicator/replicator-queue.c
--- a/src/replication/replicator/replicator-queue.c	Sun Mar 04 12:04:46 2012 +0200
+++ b/src/replication/replicator/replicator-queue.c	Sun Mar 04 12:07:21 2012 +0200
@@ -83,6 +83,8 @@
 
 	while ((item = priorityq_pop(queue->user_queue)) != NULL) {
 		struct replicator_user *user = (struct replicator_user *)item;
+
+		user->popped = TRUE;
 		replicator_queue_remove(queue, &user);
 	}
 


More information about the dovecot-cvs mailing list