Improve the clean-up of outdated IAuth instances on rehash (SF bug #2789656).
[ircu2.10.12-pk.git] / ircd / ircd_signal.c
index 89a05c48a668a44aac31f89e78185123de7c9bc3..650102ed1f9bf32433c4c02843f64b0c1648353a 100644 (file)
@@ -134,6 +134,7 @@ static struct ChildRecord *alloc_crec(void)
     crec = MyCalloc(1, sizeof(*crec));
   }
 
+  memset(crec, 0, sizeof(*crec));
   crec->next = NULL;
   return crec;
 }