[dovecot-cvs] dovecot/src/plugins/quota quota-maildir.c,1.19,1.20

tss at dovecot.org tss at dovecot.org
Wed Jan 24 17:14:18 UTC 2007


Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv17615

Modified Files:
	quota-maildir.c 
Log Message:
Fixed a file descriptor leak.



Index: quota-maildir.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-maildir.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- quota-maildir.c	28 Dec 2006 16:28:40 -0000	1.19
+++ quota-maildir.c	24 Jan 2007 17:14:16 -0000	1.20
@@ -476,7 +476,7 @@
 		ret = 1;
 	} else {
 		/* broken file / need recalculation */
-		(void)close(root->fd);
+		(void)close(fd);
 		root->fd = -1;
 		ret = 0;
 	}



More information about the dovecot-cvs mailing list