chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NEW etc.: Use NEW_ARY
[secnet.git]
/
ipaddr.c
diff --git
a/ipaddr.c
b/ipaddr.c
index b3cd0a7bf55050c2957e72b341e838bb12e9bca1..8bb2efcedad3557c4a8525448496a74f2142e8d4 100644
(file)
--- a/
ipaddr.c
+++ b/
ipaddr.c
@@
-18,7
+18,7
@@
struct subnet_list *subnet_list_new(void)
NEW(r);
r->entries=0;
r->alloc=DEFAULT_ALLOC;
-
r->list=safe_malloc_ary(sizeof(*r->list),r->alloc,"subnet_list_new:data"
);
+
NEW_ARY(r->list,r->alloc
);
return r;
}