INN commit: trunk/authprogs (radius.c)

INN Commit Russ_Allbery at isc.org
Fri Apr 13 22:32:02 UTC 2007


    Date: Friday, April 13, 2007 @ 15:32:02
  Author: jeff
Revision: 7607

Switch xmalloc to xcalloc.  Bug reported by Erik Klavon.

Modified:
  trunk/authprogs/radius.c

----------+
 radius.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: radius.c
===================================================================
--- radius.c	2007-02-10 23:34:14 UTC (rev 7606)
+++ radius.c	2007-04-13 22:32:02 UTC (rev 7607)
@@ -92,7 +92,7 @@
 {
   rad_config_t *new;
 
-  new = xmalloc(sizeof(rad_config_t));
+  new = xcalloc(1, sizeof(rad_config_t));
   new->next = NULL;
 
   return new;



More information about the inn-committers mailing list