[dovecot-cvs] dovecot/src/lib-settings settings.c,1.11,1.12

cras at dovecot.org cras at dovecot.org
Sat Jan 14 20:47:39 EET 2006


Update of /var/lib/cvs/dovecot/src/lib-settings
In directory talvi:/tmp/cvs-serv16037/lib-settings

Modified Files:
	settings.c 
Log Message:
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.



Index: settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-settings/settings.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- settings.c	13 Jan 2006 20:26:20 -0000	1.11
+++ settings.c	14 Jan 2006 18:47:36 -0000	1.12
@@ -223,7 +223,7 @@
 		}
 	}
 
-	i_stream_unref(input);
+	i_stream_unref(&input);
 	t_pop();
 
 	return errormsg == NULL;



More information about the dovecot-cvs mailing list