INN commit: branches/2.4/authprogs (radius.c)
INN Commit
Russ_Allbery at isc.org
Sun Apr 6 10:18:55 UTC 2008
Date: Sunday, April 6, 2008 @ 03:18:54
Author: iulius
Revision: 7745
Switch xmalloc to xcalloc. Bug reported by Erik Klavon.
Modified:
branches/2.4/authprogs/radius.c
----------+
radius.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: radius.c
===================================================================
--- radius.c 2008-04-06 10:12:01 UTC (rev 7744)
+++ radius.c 2008-04-06 10:18:54 UTC (rev 7745)
@@ -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