[dovecot-cvs] dovecot/src/plugins/quota quota-maildir.c, 1.9.2.5, 1.9.2.6

tss at dovecot.org tss at dovecot.org
Sun Dec 17 16:34:24 UTC 2006


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

Modified Files:
      Tag: branch_1_0
	quota-maildir.c 
Log Message:
Fixed a file descriptor at deinit.



Index: quota-maildir.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-maildir.c,v
retrieving revision 1.9.2.5
retrieving revision 1.9.2.6
diff -u -d -r1.9.2.5 -r1.9.2.6
--- quota-maildir.c	3 Dec 2006 16:15:10 -0000	1.9.2.5
+++ quota-maildir.c	17 Dec 2006 16:34:22 -0000	1.9.2.6
@@ -571,6 +571,9 @@
 {
 	struct maildir_quota_root *root = (struct maildir_quota_root *)_root;
 
+	if (root->fd != -1)
+		(void)close(root->fd);
+
 	i_free(root->ignore);
 	i_free(root->root.name);
 	i_free(root);



More information about the dovecot-cvs mailing list