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

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


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

Modified Files:
	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.8
diff -u -d -r1.7 -r1.8
--- imap-quota-plugin.c	2 May 2006 20:01:33 -0000	1.7
+++ imap-quota-plugin.c	1 Jul 2006 22:27:29 -0000	1.8
@@ -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