[dovecot-cvs] dovecot/src/lib iostream.c,1.3,1.4

cras at procontrol.fi cras at procontrol.fi
Wed Jan 22 20:38:50 EET 2003


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv17985/lib

Modified Files:
	iostream.c 
Log Message:
i/o streams unreffed their pool, but never referenced it. this didn't matter
so far since we always used system/data stack pools where refcounting didn't
matter.



Index: iostream.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/iostream.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- iostream.c	11 Jan 2003 19:55:56 -0000	1.3
+++ iostream.c	22 Jan 2003 18:38:48 -0000	1.4
@@ -28,6 +28,7 @@
 
 void _io_stream_init(pool_t pool, struct _iostream *stream)
 {
+	pool_ref(pool);
 	stream->pool = pool;
 	stream->refcount = 1;
 }




More information about the dovecot-cvs mailing list