]> git.meshlink.io Git - meshlink/blobdiff - src/connection.c
Rename xmalloc_and_zero() to xzalloc().
[meshlink] / src / connection.c
index 9c459787eabbb5bc94a200a2dc01e3effbc1be58..496f6747fc05a738709f10e8c3783300c2685074 100644 (file)
@@ -48,7 +48,7 @@ void exit_connections(void) {
 }
 
 connection_t *new_connection(void) {
-       return xmalloc_and_zero(sizeof(connection_t));
+       return xzalloc(sizeof(connection_t));
 }
 
 void free_connection(connection_t *c) {