[dovecot-cvs] dovecot/src/plugins/quota quota-maildir.c, 1.9.2.8, 1.9.2.9

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


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

Modified Files:
      Tag: branch_1_0
	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.9.2.8
retrieving revision 1.9.2.9
diff -u -d -r1.9.2.8 -r1.9.2.9
--- quota-maildir.c	28 Dec 2006 16:32:21 -0000	1.9.2.8
+++ quota-maildir.c	24 Jan 2007 17:14:13 -0000	1.9.2.9
@@ -471,7 +471,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