projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add more __attribute__((malloc)) where appropriate.
[tinc]
/
src
/
subnet.c
diff --git
a/src/subnet.c
b/src/subnet.c
index
12ca03c
..
bf4300e
100644
(file)
--- a/
src/subnet.c
+++ b/
src/subnet.c
@@
-79,7
+79,7
@@
void free_subnet_tree(splay_tree_t *subnet_tree) {
/* Allocating and freeing space for subnets */
subnet_t *new_subnet(void) {
- return x
malloc_and_zero
(sizeof(subnet_t));
+ return x
zalloc
(sizeof(subnet_t));
}
void free_subnet(subnet_t *subnet) {