[dovecot-cvs] dovecot/src/plugins/imap-quota imap-quota-plugin.c, 1.7, 1.7.2.1

cras at dovecot.org cras at dovecot.org
Sun Jul 2 01:27:30 EEST 2006


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

Modified Files:
      Tag: branch_1_0
	imap-quota-plugin.c 
Log Message:
If there is no quota for the user, GETQUOTAROOT leaked memory



Index: imap-quota-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/imap-quota/imap-quota-plugin.c,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- imap-quota-plugin.c	2 May 2006 20:01:33 -0000	1.7
+++ imap-quota-plugin.c	1 Jul 2006 22:27:28 -0000	1.7.2.1
@@ -73,6 +73,7 @@
 	}
 
 	if (quota == NULL) {
+		mailbox_close(&box);
 		client_send_tagline(cmd, "OK No quota.");
 		return TRUE;
 	}



More information about the dovecot-cvs mailing list