diff src/plugins/imap-quota/imap-quota-plugin.c @ 3879:928229f8b3e6 HEAD

deinit, unref, destroy, close, free, etc. functions now take a pointer to their data pointer, and set it to NULL. This makes double-frees less likely to cause security holes.
author Timo Sirainen <tss@iki.fi>
date Sat, 14 Jan 2006 20:47:20 +0200
parents 55df57c028d4
children 12ff7067ce62
line wrap: on
line diff
--- a/src/plugins/imap-quota/imap-quota-plugin.c	Sat Jan 14 19:23:22 2006 +0200
+++ b/src/plugins/imap-quota/imap-quota-plugin.c	Sat Jan 14 20:47:20 2006 +0200
@@ -103,7 +103,7 @@
 			"* BAD ", quota_last_error(quota), NULL));
 	}
 
-	mailbox_close(box);
+	mailbox_close(&box);
 
 	client_send_tagline(cmd, "OK Getquotaroot completed.");
 	return TRUE;