dovecot-2.0: lib-storage: Fixed setting refcount to autocreated ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jul 31 21:44:27 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/85f3420afb7c
changeset: 11912:85f3420afb7c
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jul 31 19:44:24 2010 +0100
description:
lib-storage: Fixed setting refcount to autocreated shared namespace.

diffstat:

 src/lib-storage/index/shared/shared-storage.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 65c26f530d3c -r 85f3420afb7c src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c	Sat Jul 31 19:42:03 2010 +0100
+++ b/src/lib-storage/index/shared/shared-storage.c	Sat Jul 31 19:44:24 2010 +0100
@@ -251,6 +251,7 @@
 
 	/* create the new namespace */
 	new_ns = i_new(struct mail_namespace, 1);
+	new_ns->refcount = 1;
 	new_ns->type = NAMESPACE_SHARED;
 	new_ns->user = user;
 	new_ns->prefix = i_strdup(str_c(prefix));


More information about the dovecot-cvs mailing list