X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fsubnet.c;h=ada811200eefdb838493a1856ac2b0d05ccf6213;hp=c1cbe164f31195e6f6bcc521f75d482b3a9a79b0;hb=c98db1b861d62430e23f26b0da18e7b3ec875767;hpb=8dd09568f1604f1ac8cc0d8d5120d986f5654900 diff --git a/src/subnet.c b/src/subnet.c index c1cbe164..ada81120 100644 --- a/src/subnet.c +++ b/src/subnet.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: subnet.c,v 1.1.2.38 2002/07/10 11:32:33 guus Exp $ + $Id: subnet.c,v 1.1.2.39 2002/07/11 12:42:43 guus Exp $ */ #include "config.h" @@ -155,7 +155,7 @@ cp subnet_t *new_subnet(void) { cp - return (subnet_t *)xmalloc(sizeof(subnet_t)); + return (subnet_t *)xmalloc_and_zero(sizeof(subnet_t)); } void free_subnet(subnet_t *subnet)