X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fedge.c;h=f185b4fec35329dcb8e8f482a1b28efd8ab94049;hb=38adc8bf548c2c465d5f4147866c3d3f9112d3a8;hp=fd033273296a41217e59551ea18145d7dc7b57b7;hpb=70a1a5594af5d4e6a364186b42ba4e34c676009b;p=tinc diff --git a/src/edge.c b/src/edge.c index fd033273..f185b4fe 100644 --- a/src/edge.c +++ b/src/edge.c @@ -1,6 +1,6 @@ /* edge.c -- edge tree management - Copyright (C) 2000-2012 Guus Sliepen , + Copyright (C) 2000-2013 Guus Sliepen , 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify @@ -70,7 +70,7 @@ void exit_edges(void) { /* Creation and deletion of connection elements */ edge_t *new_edge(void) { - return xmalloc_and_zero(sizeof(edge_t)); + return xzalloc(sizeof(edge_t)); } void free_edge(edge_t *e) {