[dovecot-cvs] dovecot/src/plugins/quota quota-maildir.c,1.17,1.18

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


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

Modified Files:
	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.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- quota-maildir.c	22 Nov 2006 17:23:09 -0000	1.17
+++ quota-maildir.c	17 Dec 2006 16:34:24 -0000	1.18
@@ -545,6 +545,8 @@
 {
 	struct maildir_quota_root *root = (struct maildir_quota_root *)_root;
 
+	if (root->fd != -1)
+		(void)close(root->fd);
 	i_free(root);
 }
 



More information about the dovecot-cvs mailing list