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 in all obvious places
[secnet.git]
/
resolver.c
diff --git
a/resolver.c
b/resolver.c
index a39e9fcde510dea5e96bf81dcf05aad079ea982d..e9f42f1b88aa83f2a68c609d6636b9a82e5451ca 100644
(file)
--- a/
resolver.c
+++ b/
resolver.c
@@
-173,7
+173,7
@@
static list_t *adnsresolver_apply(closure_t *self, struct cloc loc,
item_t *i;
string_t conf;
-
st=safe_malloc(sizeof(*st),"adnsresolver_apply"
);
+
NEW(st
);
st->cl.description="adns";
st->cl.type=CL_RESOLVER;
st->cl.apply=NULL;