dovecot-2.2: lib-fs: Forgot to initialize refcount in previous c...
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Mon May  4 16:16:58 UTC 2015
    
    
  
details:   http://hg.dovecot.org/dovecot-2.2/rev/6403ccd2f5f9
changeset: 18515:6403ccd2f5f9
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 04 19:15:10 2015 +0300
description:
lib-fs: Forgot to initialize refcount in previous commit
diffstat:
 src/lib-fs/fs-api.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 0b297bc94746 -r 6403ccd2f5f9 src/lib-fs/fs-api.c
--- a/src/lib-fs/fs-api.c	Mon May 04 19:06:11 2015 +0300
+++ b/src/lib-fs/fs-api.c	Mon May 04 19:15:10 2015 +0300
@@ -26,6 +26,7 @@
 	int ret;
 
 	fs = fs_class->v.alloc();
+	fs->refcount = 1;
 	fs->last_error = str_new(default_pool, 64);
 	i_array_init(&fs->module_contexts, 5);
 
    
    
More information about the dovecot-cvs
mailing list